Skip to main content
100%

Fork of Bar Chart with Highlighting Ware

✓ Published0🌍 Public
BBolarinwa Omoware
Last edited Jun 2, 2022
Created on Jun 2, 2022

This bar chart displays the populations of the ten most populous countries, using color to highlight ranges like those exceeding one billion. Built with D3 v6, it loads data from a CSV file and renders bars with an SVG canvas, including axes and hover tooltips that reveal exact values. The code uses d3.scaleLinear and d3.scaleBand for scaling, and d3.axisLeft and d3.axisBottom for chart decorations.

AI-generated description

This is my code after following a video tutorial by Curran Kelleher.

MIT Licensed

Similar vizzes