🌍 Public
Viewing a saved revision (read-only)
c65b19d413c449949520238592e9ba17
Line Chart for Salary with respect to Years Of Experience
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.