Skip to main content
Public

Share visualization

Loading preview…

Fork of Making a Barchart

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

Fork of Making a Barchart

0
VVineela Reddy
Last edited Mar 22, 2023
Created on Mar 22, 2023
Forked from Making a Barchart

This horizontal bar chart ranks the populations of the ten most populous countries, using D3’s `scaleLinear` for the x-axis and `scaleBand` for the categorical y-axis. The SVG render loads data from `data.csv`, multiplies each population value by 1000, and draws steelblue rectangles via D3’s `selectAll` and `enter`. Axis ticks are generated with `axisLeft` and `axisBottom`.

AI-generated description

An example showing the capabilities of VizHub.

Comments

Sign in to join the discussion.

MIT Licensed