Skip to main content
100%

Making a Bar Chart - JAY

✓ Published1🌍 Public
Jjay
Last edited Feb 7, 2020
Created on Feb 7, 2020

This example displays a horizontal bar chart of credit score categories by frequency, with the data scaled to thousands and sorted by the provided CSV values. The visualization uses D3 v5’s `scaleLinear` for the x-axis, `scaleBand` for the y-axis, and `axisLeft` and `axisBottom` to render the axes. The SVG rendering is driven by `csv()` to load the data, and bars are appended as `rect` elements with a title text. The chart highlights the distribution of frequencies across five credit score categories.

AI-generated description

A program that shows the top 10 most populous countries as a pathetic bar chart with no axes.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes