Making a bar chart: my grades
✓ Published0🌍 Public
A bar chart displays university grades, with each subject on the y-axis and its corresponding score (from 18 to 30) on the x-axis. The chart uses green bars and a readable font size. The implementation relies on D3 v5's `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` APIs to position and scale the marks. Data is loaded from a CSV file via `d3.csv`, and the SVG rendering is created through `svg.append('g')` and `selectAll('rect')` calls.
AI-generated descriptionMIT Licensed