Skip to main content
100%

barchart4

✓ Published1🌍 Public
Llimeroc
Last edited May 18, 2021
Created on May 18, 2021
Forked from Bar Chart

This example displays a horizontal bar chart comparing population counts for five countries, with China, India, and Brazil standing out as the largest. The chart includes labeled axes, tooltips on hover, and click events that show the selected country and its population. Built with D3 v5, the visualization uses `d3.csv` to load data from `data.csv`, `scaleLinear` and `scaleBand` for positioning, and `axisLeft` and `axisBottom` for axes. The SVG rendering includes gridline options and configurable label visibility through a chart configuration object.

AI-generated description

This is a sample Bar Pie chart. This will be later exported to angular.

MIT Licensed

Similar vizzes