Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

LINE VARUN

Public visualization

Viewing a saved revision (read-only)

73cc48a04a4742f4949dbed0a9dffd9b

LINE VARUN

0 stars0🌍 Public
VVarun Gadde
Last edited Mar 28, 2024
Created on Mar 28, 2024

This example visualizes the average reading score by age as a line chart, highlighting trends in performance across different age groups. It uses D3.js (v7) to fetch a CSV dataset, group the data by age, and compute the mean reading score for each age. The chart is rendered as an SVG element, with scales mapping age to the x-axis and average reading score to the y-axis. A green line path, generated via `d3.line`, connects the data points, while axes are added using `d3.axisBottom` and `d3.axisLeft` with labels for clarity.

AI-generated description