Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Axis with React & D3

Public visualization

Axis with React & D3

0 stars1🌍 Public
FFrederick O'Brien
Last edited Nov 12, 2021
Created on Nov 11, 2021

This example displays a horizontal bar chart of population figures for eleven countries, using a D3 scaleBand for the y-axis and scaleLinear for the x-axis. React components such as AxisBottom, AxisLeft, and Marks render the SVG elements, with d3.csv loading UN population data from a GitHub gist. The chart supports formatted tick labels using d3.format and interactive tooltips via SVG title elements.

AI-generated description

A program that loads in some data and presents it with React.

Comments

Sign in to join the discussion.

MIT Licensed