Bar Chart
✓ Published2🌍 Public
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 descriptionMIT Licensed