Skip to main content
100%

Vertical Bar Chart

✓ Published1🌍 Public
GGiosec
Last edited Jan 14, 2021
Created on Jan 14, 2021

This vertical bar chart displays population estimates for ten countries, sourced from a CSV file and rendered as SVG using D3.js version 6. The bars, colored steelblue, are sized with `d3.scaleBand` and `d3.scaleLinear`, and show values on a logarithmic y-axis formatted with a custom Indian number-formatting function. Hovering a bar triggers `mouseover` and `mouseout` events, changing the bar’s fill to red and adding a temporary text label that names the country and its population.

AI-generated description

This is on Bar Chart which can change color when mouseover.

MIT Licensed

Similar vizzes