Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Let's make a Bar Graph with D3.js

Public visualization

Fork of Let's make a Bar Graph with D3.js

0 stars1🌍 Public
MMeghanaArepalli
Last edited Mar 6, 2022
Created on Mar 6, 2022

A horizontal bar chart displays student enrollment across ten computer science courses, with purple bars sorted from highest to lowest by the number of enrolled students. The visualization uses D3.js v7’s `scaleLinear` and `scaleBand` to map enrollment counts and course names, while `axisLeft` and `axisBottom` generate the categorical and numerical axes. Data is loaded from a CSV file via `d3.csv`, and the SVG rendering includes rotated axis labels for courses and enrollment counts.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed