Skip to main content
100%

Line Chart for Salary with respect to Years Of Experience

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

A line chart displays salary against years of experience, with the x-axis scaled as time and the y-axis as a linear salary range. The SVG visualization uses D3 v5’s `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` generator to plot a single green path. Data loads from a CSV via `d3.csv`, parsing salary as numbers and dates with `d3.timeParse`. Grid lines and axis labels are styled through CSS classes, rendered in a React-free static HTML page within a fixed SVG viewport.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes