Let's make a face with D3.js!
✓ Published0🌍 Public
This visualization displays a choropleth map of Iran, coloring each province based on a selected dataset column. A dropdown menu lets users switch between different attribute values, triggering a white flash transition before the new colors settle. The map uses `d3.geoMercator` and `d3.geoPath` to render GeoJSON boundaries, with `d3.scaleLinear` mapping log-transformed data values to random generated colors. A custom `colorLegend` shows the most and least value range, while `d3.zoom` enables panning and scaling of the SVG output.
AI-generated descriptionMIT Licensed