Skip to main content
Public

Share visualization

Loading preview…

Activity 6 Question 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
BBharath Vupputuri
Last edited Apr 4, 2025
Created on Apr 4, 2025

This bar chart displays the population of ten countries in the year 2000, sorted by country name along the vertical axis. The visualization uses React with D3 v5 to render an SVG, employing `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. Population values are loaded from a remote CSV file and formatted using D3’s `format` function, converting large numbers to abbreviated labels. The bars are colored solid blue, with axis ticks rendered in a contrasting red.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed