Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Social Media Stocks

Public visualization

Social Media Stocks

0 stars0🌍 Public
Fflanagancarlie@gmail.com
Last edited Feb 2, 2023
Created on Jan 23, 2023
Forked from Loading Data

This example displays one decade of social media stock prices (Facebook, Twitter, Pinterest, Etsy, Snapchat) from 2012–2022, loading data from a CSV hosted on GitHub. The visualization initially shows the raw parsed data as a JSON string in a `<pre>` element, using `d3.csvParse` to convert the fetched text. It relies on D3 v7’s `select` and `setState` pattern to manage asynchronous loading, with a state object tracking whether data is undefined, “LOADING”, or parsed. The stock prices originate from Kaggle, and the current view serves as a data-loading preview rather than a chart.

AI-generated description

This data set contains data on social media stocks (Facebook, Twitter, Pinterest, Etsy, Snapchat) for one decade, from 2012-2022. Original source: https://www.kaggle.com/datasets/prasertk/major-social-media-stock-prices-20122022

Comments

Sign in to join the discussion.

MIT Licensed