Skip to main content
100%

Customizing Axes

✓ Published1🌍 Public
Hhugomell
Last edited Jul 28, 2020
Created on Jul 28, 2020
Forked from Making a bar chart

This example shows a horizontal bar chart of the world’s ten most populous countries, with a customized axis layout. It uses d3.csv to load population data, then applies d3.scaleBand and d3.scaleLinear to map countries and values, and d3.axisLeft plus d3.axisBottom to render the axes. The x-axis ticks are formatted with d3.format and custom labels, while grid lines extend across the chart.

AI-generated description

A Minimal Example illustrating the basic structure of a Vizhub visualization.

MIT Licensed

Similar vizzes