Skip to main content
Public

Share visualization

Loading preview…

Pathetic Bar Chart

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

Pathetic Bar Chart

1
BBenoit Mouly
Last edited Jul 29, 2022
Created on Jul 29, 2022

This visualization displays the top 10 most populous countries as a "pathetic" bar chart: bars are colored black, with no axes, labels, or any scaling context. The chart uses React with state management and effect hooks to fetch and process data from a CSV via `d3.csv`, then renders SVG rectangles. Bar lengths are computed with `d3.scaleLinear` against the population maximum, and vertical positioning uses `d3.scaleBand` over country names, though these scales are hidden from the final output.

AI-generated description

A program that shows the top 10 most populous countries as a pathetic bar char with no axes.

Comments

Sign in to join the discussion.

MIT Licensed