🌍 Public
Viewing a saved revision (read-only)
e3370999e0324bf9a737ea6d3abf3e71
Fork of Bar Chart with Highlighting
This fork of a bar chart visualizes the populations of the world’s most populous countries from 2018 data. It uses D3 v6 to render horizontal bars colored by population size, with a tooltip that appears on mouseover. The chart is built with `scaleLinear` for the x-axis, `scaleBand` for the y-axis, and uses `selectAll` to draw the rectangles. Data is loaded from a CSV file and processed to convert population values, which are then displayed alongside axes and a title.
AI-generated descriptionThis is my code after following a video tutorial by Curran Kelleher.