Skip to main content
100%

Fork of Scatter Plot Simple

✓ Published1🌍 Public
Kkratikashetty1102@gmail.com
Last edited Feb 14, 2023
Created on Feb 13, 2023

This scatter plot displays daily closing prices for Apple and Google stocks from November and December 2022, with dates on the x-axis and closing prices on the y-axis. The axes are hidden, and the plot uses color-coded points to distinguish between the two companies. The visualization is built with d3.v7, using `scaleLinear` for position scales and `scaleOrdinal` with `schemeSet1` for coloring, while data is fetched from a CSV file and rendered in full-screen SVG.

AI-generated description

A scatter plot of 2022 Daily S&P 500 Stocks Data with Date on the X Axis and Closing Price on Y axis. Here axes are not displayed. A subset of stocks data consisiting of Apple and Google stocks for the month of November and December were considered for the plot - https://gist.githubusercontent.com/kratikashetty/ce2fc2c3b5797665339317ce85d582b1/raw/8e538b683be93c18541a2872fe879857341660dd/sp500_stocks_2022_subset.csv

Referred https://vizhub.com/surferla25/9d00028e08e84f9190bbcf8421151eef?edit=files&file=index.html to handle margins and for the color fill.

MIT Licensed

Similar vizzes