Skip to main content
100%

Making a Bar Chart

✓ Published1🌍 Public
BBaraneedharan N M
Last edited Aug 15, 2020
Created on Aug 12, 2020
Forked from Making a Bar Chart

This example shows a horizontal bar chart of student marks, with each bar representing a student’s score. The chart uses a linear scale for the x-axis and a band scale for the y-axis, with axes generated via d3.axisLeft and d3.axisBottom. The data is loaded from a CSV file using d3.csv, and the bars are rendered as SVG rectangles. d3.scaleLinear, d3.scaleBand, and d3.max are used for scaling and domain calculation.

AI-generated description
MIT Licensed

Similar vizzes