loads elements of the config file and parses, then runs all major functions
Set up config information
Initatite Map simply
Create droppdown menus for choices
convert CSV data to geojson for Scatter Data convert any positive longitudes to negative
create SET of Areas used by data
based onthe choice in the zone dropdwon , calculates the aggregation choosen and associated the color for the zone
(string)
the variable that is being plotted as scatter
(any)
(Set)
a Set object that has all the zones which have data
(object)
d3.scaleQuantile object
(object)
object that points to the legend for zones
(string)
the value in the drop down menu choosen
object
:
the object with colors for each zone based on a histogram of data
(object)
columner data from csv file
(object)
array of strings of the variables names that are numeric variables in the dataset
(object)
array of strings of the variables names that are categorical variables in the dataset
(string)
the variable that is being plotted as scatter
(object)
pointer to the legend for the scatter plot
(string)
the variable name pointing to the row id
object
:
the object with colors for each line of the scatter plot
sets the colors of the zonal histograms and the associated barchart and legend
(string)
the name of the Grid map choosen
(string)
the variable that is being plotted as scatter
(string)
the value in the drop down menu choosen
(Set)
a Set object that has all the zones whih have data
(object)
d3.scaleQuantile object
(object)
object that points to the legend for zones
(object)
svg that pojnts to the bar chart
(any)
creates a listener for the choices in the dropdown for area as it is reset consitatnly
set up the map with inital data, use basic colors for faster loading
creates inital map view state after styles load from mapbox
(object)
(string)
the variable that is being plotted as scatter
(string)
the string name of the variable representing the row ID for csv data
(object)
(object)
(object)
d3.scaleQuantile object
(object)
object that points to the legend for scatter dropdown
(Set)
a Set object that has all the zones whih have data
(object)
object that points to the legend for zones
(object)
svg that pojnts to the bar chart
(object)
svg that points to the scatter plot
(object)
the dictionary of maps avaialable to plot
(any)
(zoneObjectAll)
object contianing all the ID's to maps
update lower bar chart with new histogram choices based on dropdowns
updates the legend with the correct scale and colors
inititilize the svg for the legend
(string)
the class for the legend
object
:
the svg object of the legend
initate the svg for the lower charts
(any)
(object)
the svg info that points to the necessary graph
Createa a scatter plot of data
(any)
(any)
(any)
(any)
(whichViz) - svg info of the chart initated
(any)
(scatterArrayIds) - includes UniquesIDs as Keys and value for data
(any)
(scatterColor) - includes UniquesIDs as Keys and color for data
Convert any Longitudes that are poisitve to MOD -360
(any)
Toggle color layer of zonal histogram