Skip to main content
100%

BandTests

✓ Published0🌍 Public
Cchristine
Last edited Oct 31, 2022
Created on Oct 31, 2022

This example displays the population of the top 10 countries as horizontal bars, with a scaleBand mapping country names on the y-axis and a scaleLinear for population on the x-axis. Using React with D3 v7, it renders SVG rectangles and axes via custom components. The data is loaded asynchronously from a CSV URL using d3.csv, and numeric formatting via d3.format presents tick labels with abbreviations.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities and React to render the data.

MIT Licensed

Similar vizzes