Skip to main content
Public

Share visualization

Loading preview…

Activity 6 Question 1.1

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

Activity 6 Question 1.1

1
SSai Gottumukkala
Last edited Apr 3, 2025
Created on Apr 3, 2025
Forked from Hello VizHub

This bar chart displays the population of ten countries in the year 2000, using horizontal bars sorted by country name. The visualization is built with React and D3 v5, where `d3.scaleBand` positions the categorical y-axis and `d3.scaleLinear` maps population values to bar widths. Data is loaded as a CSV via `d3.csv` from a GitHub repository, and SVG rectangles render the marks, with hover tooltips showing formatted population values using `d3.format`. Axis ticks and labels are generated by custom React components.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed