Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Chart

Public visualization

Bar Chart

0 stars2🌍 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

Comments

Sign in to join the discussion.

MIT Licensed