Skip to main content
Public

Share visualization

Loading preview…

BAR CHART -AISHWARYA M

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

BAR CHART -AISHWARYA M

1
AAishwarya Manjunath
Last edited Mar 7, 2022
Created on Mar 7, 2022

A horizontal bar chart displays total population across different racial categories, with race labels on the y-axis and population counts on the x-axis. Built with React and D3 v5, the visualization loads a CSV dataset from a GitHub gist, uses `d3.scaleBand` for the categorical y-axis and `d3.scaleLinear` for the numeric x-axis, and renders green SVG rectangles for each bar. Red axis tick lines and text labels are generated manually within the React component.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed