Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Fork of React & D3 Starter

Public visualization

Fork of Fork of Fork of React & D3 Starter

0 stars2🌍 Public
SSanjayRamaSwamyAdla@my.unt.edu
Last edited Mar 30, 2026
Created on Mar 30, 2026

This example shows an area chart of values over time, using a small inline dataset of five ordered day-value pairs. Rendered as an SVG, the chart fills the space beneath a line that connects the data points, which are scaled along linear x and y axes. The code creates the visualization using D3 v7 API calls like `d3.select`, `d3.scaleLinear`, `d3.extent`, `d3.max`, `d3.area`, and `d3.axisBottom`/`d3.axisLeft`. It includes labeled axes for "Days" and "Values" and uses a light blue fill to represent the area under the curve.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed