Skip to main content
100%

Let's make a temperature chart bar

✓ Published1🌍 Public
AArnaud Gbaguidi
Last edited May 27, 2020
Created on May 27, 2020

This bar chart displays temperature readings for six labeled controllers, ranging from 5 to 60 degrees. The data is loaded from a local CSV file and rendered as SVG rectangles with axes. Built with D3 v5, it uses `scaleBand` and `scaleLinear` for positioning, `axisBottom` and `axisLeft` for tick marks, and `csv` for data parsing. Each bar’s height corresponds to its temperature value, with the y-scale inverted to align with the SVG coordinate system.

AI-generated description

This bar chart of randoms temperature. The data comes from myself. The tutorial comes from Making a Bar Chart with D3.js and SVG [Reloaded] by Curran Kelleher.

MIT Licensed

Similar vizzes