Skip to main content
100%

Bar Chart

✓ Published2🌍 Public
Bbassansackey@gmail.com
Last edited Mar 25, 2025
Created on Mar 25, 2025
Forked from Hello Viz

This example shows a grouped bar chart comparing hospital visits by disease type and gender, using data loaded from a CSV file. The chart renders male and female bars side by side for each disease category, with a Tableau10 color scheme distinguishing the two groups. Implemented with React and D3 v5, it uses `scaleBand` for the grouped axes, `scaleLinear` for the value range, and `axisBottom` and `axisLeft` for the chart’s axes. Data aggregation is performed in JavaScript before rendering.

AI-generated description
MIT Licensed

Similar vizzes