Skip to main content
100%

Customising Axes

✓ Published1🌍 Public
JJonathan Phelps
Last edited Jan 17, 2020
Created on Jan 17, 2020
Forked from Making a Bar Chart

This bar chart displays the populations of the top five most populous countries, scaled linearly along the x-axis and categorically along the y-axis using a band scale. It uses custom axes: the y-axis labels are enlarged via CSS, the x-axis tick marks extend across the chart, and population values are formatted as billions using d3.format. The chart is rendered as SVG from a CSV file, with axis titles and a chart header added as text elements, using d3.scaleLinear, d3.scaleBand, d3.axisLeft, and d3.axisBottom.

AI-generated description
MIT Licensed

Similar vizzes