Skip to main content
Public

Share visualization

Loading preview…

The Margin Convention - JAT

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

The Margin Convention - JAT

1
JJason Tiller
Last edited Mar 5, 2021
Created on Mar 5, 2021

A radial burst visualization displays the top ten countries by 2020 population from UN data, sourced via a CSV endpoint. The chart loads the dataset with D3’s `csv` utility and implements a custom band scale (`scaleBand`) for the categorical country axis and a linear scale (`scaleLinear`) for the population magnitude. React state (`useState`, `useEffect`) manages the asynchronous data fetch and triggers rendering of SVG rectangles within a transformed group element. The visualization appears as a burst layout, though the code currently renders a horizontal bar chart using standard rectangular marks.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities and uses React state to render the data as a radial burst.

Comments

Sign in to join the discussion.

MIT Licensed