Skip to main content
100%

D3 Bar Chart for Assignment 4

✓ Published1🌍 Public
Vvishusikka
Last edited Mar 9, 2022
Created on Feb 22, 2022
Forked from P5js Barchart

This D3.js bar chart visualizes the distribution of horsepower for German car brands using a histogram. The chart bins horsepower values into equal-width intervals along the x-axis, with bar heights representing the count of vehicles in each range. Built with an SVG rendering, the visualization features a blue color scheme and includes axis labels and a title. Interactive tooltips appear on hover, displaying the specific horsepower range of each bar. The implementation uses d3.csv for data loading, d3.histogram for binning, and d3.scaleLinear for both axes.

AI-generated description
MIT Licensed

Similar vizzes