Skip to main content
100%

Fork of Responsive Line Chart

✓ Published0🌍 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.

MIT Licensed

Similar vizzes