Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

FP: Line Chart

Public visualization

Viewing a saved revision (read-only)

ac93f4e7db7c4501aa0d4f32206f3706

FP: Line Chart

0 stars2🌍 Public
JJingxuan Yang
Last edited Apr 17, 2024
Created on Apr 17, 2024

This line chart displays the average sale price of items per year. The chart uses a white plotting area with black axes and a black line connecting data points. Built with D3.js, the visualization aggregates data by year using `rollup` and `mean`, then renders the series with `line`. It leverages the `@drbagwell/responsive-viz-axes` library for the axes and includes labeled x and y axes. Data points are marked with semi-transparent circles.

AI-generated description

Creating circles with D3.

Challenge

  • Fork this example
  • Modify it
  • Maybe make it Halloween themed
  • Maybe make it Christmas themed
  • Be creative