Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Custmizing Axes!

Public visualization

Custmizing Axes!

0 stars0🌍 Public
Ccathykan
Last edited Apr 28, 2020
Created on Apr 28, 2020
Forked from HTML Starter

This example shows a horizontal bar chart of the top 10 most populous countries, with country names on the y-axis and population on the x-axis. It customizes axes by removing domain lines and tick lines from the left axis, removing the bottom axis domain, and adding a formatted tick label that abbreviates numbers with d3.format(). The chart is rendered as SVG in a React framework using d3.scaleLinear, d3.scaleBand, d3.axisLeft, and d3.axisBottom, with data loaded from a CSV file.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed