Bar Graph
✓ Published0🌍 Public
PPavaniMangugari
Last edited Jun 25, 2022
Created on Jun 24, 2022
Forked from Fork of Let's make a Bar Graph with D3.js
This horizontal bar chart displays student enrollment counts for nine university courses, ranging from 20 to 85 students. Green rectangles represent enrollment figures on a linear scale, with subject names labeled along the y-axis. The visualization is drawn as an SVG using D3 v7, employing scaleLinear for the x-axis, scaleBand for categorizing the y-axis, and axisLeft/axisBottom for generating tick marks. Data loads from a CSV file containing course names and enrollment numbers, with the subject labels rotated vertically on the left.
AI-generated descriptionMIT Licensed