Skip to main content
100%

Scatter Plot with Color Menu

✓ Published0🌍 Public
Eest85
Last edited May 30, 2020
Created on May 30, 2020

This interactive scatter plot explores crime data from San José, Costa Rica, with three dropdown menus that re-map the x-axis, y-axis, and point colors to different columns. The visualization uses D3 v5’s `scaleLinear`, `scaleOrdinal`, and `schemeCategory10` for axes and categorical coloring, while custom reusable components (`dropdownMenu`, `scatterPlot`, `colorLegend`) handle the interface. Points animate via `transition().duration(2000)` when attributes change, and CSV data is loaded with `d3.csv`.

AI-generated description

A modification of the original Scatter Plot with Menus showing the addition of a color attribute selector menu.

MIT Licensed

Similar vizzes