Bar Chart with Highlighting
✓ Published0🌍 Public
This bar chart displays 2018 population data for the ten most populous countries, with each bar color-coded by population size threshold. The visualization uses D3 v6 with SVG rendering, employing `scaleLinear` and `scaleBand` for axes. Bars change opacity on mouseover and show a tooltip with country and population values via D3 event handlers. Data loads from a CSV file using `d3.csv`, and population values are multiplied by 1000 to convert from thousands.
AI-generated descriptionThis is my code after following a video tutorial by Curran Kelleher.
MIT Licensed