Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line chart.js!

Public visualization

Viewing a saved revision (read-only)

9947ca708c834bbe8c92791ac3a94aee

Line chart.js!

0 stars0🌍 Public
Vvishnupriya eupuri
Last edited Mar 27, 2024
Created on Mar 27, 2024
Forked from Line chart.js!

This example uses D3.js to render a line chart from a remote CSV file of employee data, plotting monthly temperatures. The visualization first loads the data with `d3.csv`, parses the numeric fields, and then builds an SVG chart with `d3.scaleLinear` for the x- and y-axes, `d3.axisBottom` and `d3.axisLeft` for ticks, and a `d3.line` generator to draw the temperature trend. The chart is rendered as an SVG with axes positioned using margins, while the line itself is styled in steel blue.

AI-generated description

Demonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.