Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customize Axes

Public visualization

Customize Axes

0 stars0🌍 Public
Kkosakase
Last edited Nov 1, 2019
Created on Nov 1, 2019
Forked from BarChart

This visualization displays population data for ten countries as a horizontal bar chart, with a customized axis appearance. It uses D3 v5 to load data from a CSV file and render SVG elements. The code applies `scaleLinear` and `scaleBand` for positioning, while `axisLeft` and `axisBottom` generate the axes. The x-axis uses `tickFormat` with `.3s` notation to abbreviate population values, and the chart appears without axis labels or gridlines.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed