Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE7_LineChart_HarshaPalacharla

Public visualization

Fork of ICE7_LineChart_HarshaPalacharla

0 stars0🌍 Public
Bbhargavinalamothu@gmail.com
Last edited Apr 1, 2025
Created on Apr 1, 2025

This example shows a line chart depicting the relationship between sleep hours and age for a small set of individuals. The visualization plots five data points on a Cartesian coordinate system, using a monotone curve to connect them in sequence. The chart is rendered with SVG and built using D3 v6, with d3.scaleLinear for the x and y axes, d3.line with d3.curveMonotoneX to generate the path, and d3.axisBottom and d3.axisLeft for the axes. The styling uses a steelblue stroke for the line.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed