Skip to main content
100%

Fork of Editing Faux Data Viz

✓ Published0🌍 Public
NNita
Last edited Aug 5, 2025
Created on Aug 4, 2025

A line chart renders seven distinct data series as smooth red curves on a white plot area over a light gray background. The chart uses the D3.js library (v7) to generate SVG paths from hardcoded x/y coordinate arrays, applying a basis curve through `d3.line().curve(d3.curveBasis)` for smooth interpolation. A static SVG provides the chart frame and plot region, while the script removes any existing paths and appends new ones with a red stroke, demonstrating a transition from hardcoded SVG to data-driven D3 generation.

AI-generated description

SVG Data Visualization

A simple data visualization created with SVG.

Features

  • Responsive SVG chart
  • Clean, modern styling
  • Works across devices

TODO

  • Replace static SVG paths with D3.js data-driven generation
  • Add axes and labels
  • Implement interactivity
  • Add legend
MIT Licensed

Similar vizzes