Skip to main content
100%

Horizontal grouped bar chart

✓ Published0🌍 Public
AAnimesh Nautiyal
Last edited Jun 20, 2021
Created on Jun 19, 2021

This horizontal grouped bar chart displays the percentage prevalence of a health-related indicator across demographic subgroups, including gender, education level, wealth quintile, and urban/rural residence. The visualization uses a single series of horizontal bars, with subgroup names on the y-axis and percentage values on the x-axis. Built with React and D3 v6, the chart leverages `scaleLinear` and `scaleBand` to map data values and categories, renders bars and value labels as SVG elements, and includes a custom tooltip that appears on mouseover. Bars are styled with varying opacity to distinguish key subgroups from secondary categories.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes