Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Untitled

Public visualization

Viewing a saved revision (read-only)

43b1203e6f194ae19cd52bf4649f9c39

Untitled

0 stars0🌍 Public
Yyinghao11
Last edited Dec 14, 2021
Created on Dec 13, 2021
Forked from Untitled

This visualization displays the relative performance of multiple stocks over time, with lines for each stock colored according to a categorical palette. The y-axis uses a logarithmic scale to show the ratio of each stock’s current value to its initial value, enabling comparison of percentage changes across different price levels. The chart is built with D3.js v6 within a React framework, using `d3.scaleLog`, `d3.line`, and `d3.axisLeft` with gridlines, and is rendered as an SVG with animation support. Data is fetched from a CSV file containing stock prices and volumes.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.