Skip to main content
100%

Fork of Bar Chart with Highlighting

✓ Published0🌍 Public
KK V VINITHA
Last edited Mar 4, 2022
Created on Mar 4, 2022

This bar chart displays the most populous countries in 2018, using a horizontal layout with color-coded bars to distinguish population magnitude. Built with D3 v6, it employs `d3.scaleLinear` and `d3.scaleBand` for scales, `d3.axisLeft` and `d3.axisBottom` for axes, and CSV data loaded via `d3.csv`. Interactive highlighting occurs through mouseover events that adjust bar opacity and show a tooltip text element.

AI-generated description

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

MIT Licensed

Similar vizzes