Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customizing Axes

Public visualization

Customizing Axes

0 stars1🌍 Public
AArriannePandaraoan
Last edited Apr 13, 2020
Created on Apr 13, 2020
Forked from Customizing Axes

A horizontal bar chart displays corn production by state for 2020, using a custom bright teal fill for each bar. The visualization customizes axes by removing default domain lines and tick marks on the y-axis, and modifying the x-axis tick labels to abbreviate large numbers (e.g., converting billions), through d3.axisBottom and d3.format with a custom replace function. The chart is built with d3.scaleBand and d3.scaleLinear, and the data comes from a CSV file.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed