🌍 Public
Viewing a saved revision (read-only)
e91d83aac97f40ffa644df4a2dff92e1
Isolation of Dropdown/ Testing a concept
A dropdown menu isolates a data attribute for comparison. The bar chart displays monthly revenue or profit, switching between the two metrics via user selection. Built with D3 v7, it uses `scaleBand` and `scaleLinear` for axes and `transition` for animated bar height updates on change. Data comes from `revenues.csv` and renders as SVG rectangles.
AI-generated descriptionA demonstration of how to start using D3 version 6.