Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Responsive Line Chart

Public visualization

Fork of Responsive Line Chart

0 stars0🌍 Public
RRakesh Kumar Chekuri
Last edited Mar 28, 2024
Created on Mar 28, 2024

This fork of a responsive line chart displays the relationship between age and weight using an SVG line plot. The code loads data from a remote text file, parses it with `d3.csvParse`, and sorts it by age before rendering the line with `d3.line` and scales via `d3.scaleLinear`. Axes are generated using `d3.axisBottom` and `d3.axisLeft`, with labels added for both dimensions. The visualization uses D3 v7 and fixed SVG dimensions of 600 by 400 pixels.

AI-generated description

A responsive line chart.

Comments

Sign in to join the discussion.

MIT Licensed