Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customizing Axis

Public visualization

Customizing Axis

0 stars1🌍 Public
Sshreyagoddu
Last edited Aug 16, 2020
Created on Aug 16, 2020
Forked from Making a Bar Chart

This example shows a horizontal bar chart of the top 10 most populous countries, with a title, axis label, and customized axis ticks. Population values are formatted with d3.format to abbreviate large numbers, and grid lines extend across the chart via the tickSize method. The visualization uses d3.csv to load data, d3.scaleLinear and d3.scaleBand for scales, and d3.axisLeft and d3.axisBottom for axes. It is rendered as SVG within a React framework.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed