Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line Chart

Public visualization

Line Chart

0 stars1🌍 Public
RRamdas Dheeraj
Last edited Oct 25, 2025
Created on Oct 23, 2025
Forked from HTML Starter

This line chart visualizes the relationship between engine size and average vehicle price using a sampled car dataset. The chart aggregates raw CSV data with `d3.rollup` to compute mean prices per engine size, then renders a monotone-smoothed path with `d3.line` and SVG circles for each data point. Axes use `d3.axisBottom` and `d3.axisLeft`, with price formatting as currency. Interactive hover tooltips display exact values via mouse events, all styled with a dark theme.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed