Constructor
new FeatureMaps()
Classes
Methods
(async) init()
Initialize the visualization
.Initialize the visualization
render()
Render the visualization
.Render the visualization
renderLegend()
Render the color legend
.Render the color legend
selectFeature(featureName)
Select a feature to display
.Select a feature to display
Parameters:
Name | Type | Description |
---|---|---|
featureName |
string | Name of the feature to display |
setupSVG()
Set up the SVG container
.Set up the SVG container
setupScales()
Set up D3 scales
.Set up D3 scales
updateFeatureMaps(features)
Update feature maps with new data
.Update feature maps with new data
Parameters:
Name | Type | Description |
---|---|---|
features |
Array | Array of feature data |