Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Fork of D3 Starter

Public visualization

Fork of Fork of Fork of D3 Starter

0 stars1🌍 Public
Yyazneshpara2@gmail.com
Last edited Oct 28, 2025
Created on Oct 28, 2025

This example visualizes the average engagement of social media posts per year, drawing on a CSV dataset that includes author, follower count, engagement, platform, and post date. A monotone X-curved line chart displays the trend, with the y-axis scaled to a maximum value 10% above the data’s peak. Built with D3 v7, the code uses `d3.csv`, `d3.rollup`, `d3.scaleLinear`, `d3.line`, and `d3.axisBottom`/`d3.axisLeft`, rendering to an SVG with styled margins and a red stroke line.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed