Skip to main content
100%

Making a Bar Chart - JAY

✓ Published1🌍 Public
Jjay
Last edited Feb 7, 2020
Created on Feb 6, 2020
Forked from Making a Bar Chart

This example visualizes the relationship between engine cylinders and horsepower across automotive models, with each data point represented as a rectangle in a scatterplot-style bar chart. The chart uses D3 v5 to load CSV data, applies linear scales for both axes, and renders the visualization as SVG elements. Axes are generated using the `axisLeft` and `axisBottom` APIs. The data comes from the auto-mpg dataset, with numeric fields parsed via JavaScript’s unary plus operator. The bars are styled with a steelblue fill, though the chart lacks a traditional bar layout.

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