Fork of Making A Bar Chart basic
✓ Published0🌍 Public
This bar chart visualizes the population (in thousands) of the ten most populous countries, using a dataset loaded from a CSV file. Built with D3.js (v7) and SVG, the chart employs `scaleBand` for the categorical x-axis and `scaleLinear` for the continuous y-axis, with axes added via `axisBottom` and `axisLeft`. Bars fill with steelblue, but interactive `mouseover` and `mouseout` events change a bar’s fill to red and back to black, highlighting individual data points.
AI-generated descriptionMIT Licensed