Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Horizontal grouped bar chart

Public visualization

Horizontal grouped bar chart

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed