Skip to main content
100%

Chart Area for ICE 7

✓ Published0🌍 Public
NNavaneeth-Ragi
Last edited Mar 12, 2023
Created on Mar 12, 2023
Forked from D3 Starter

This example shows an area chart of salary versus years of experience, with a red curved line over an orange filled region. The chart uses D3 v5’s `area` and `line` generators with `curveBasis` for smooth interpolation, and employs `scaleLinear` for both axes. The SVG rendering includes gridlines via `axisBottom` and `axisLeft` with tick sizes matching the chart dimensions. Data is loaded from a CSV source using `csv`, with salary values parsed as numbers. The visualization is built in a React framework, rendering to a fixed 930×450 SVG canvas.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes