Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

question-2

Public visualization

Viewing a saved revision (read-only)

2b62adbd14ec45c78f1928b3fbe423ff

question-2

0 stars0🌍 Public
RRJVENKATESH789@GMAIL.COM
Last edited Apr 24, 2024
Created on Apr 22, 2024
Forked from Hello VizHub

This area chart visualizes the distribution of student counts across total marks. The chart uses a green gradient fill beneath the line to emphasize the area under the curve, with labeled axes for "Total Marks" and "no_of_Students." The visualization is built with D3 v7, loading CSV data from a GitHub gist, parsing it with `d3.csv`, and scaling the x and y axes with `d3.scaleLinear`. The area path is generated using the `d3.area` function, and a custom `linearGradient` is defined and applied to the SVG path.

AI-generated description