barchart4
✓ Published1🌍 Public
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 descriptionThis is a sample Bar Pie chart. This will be later exported to angular.
MIT Licensed