Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Transforming Data

Public visualization

Transforming Data

0 stars1🌍 Public
Kkratikashetty1102@gmail.com
Last edited Jan 31, 2023
Created on Jan 31, 2023
Forked from Transforming Data

This example transforms a CSV file of S&P 500 stock data for 2022 into a summary of stock counts per industry. It demonstrates data-processing pipelines from the D3 library, including `flatGroup` to aggregate records by industry, `csvParse` to load the data, and `select` to render the resulting count as formatted JSON text. The visualization initially fetches the data from a remote gist URL, parses numeric fields, and then updates its display using a state-based rendering loop.

AI-generated description

Count of Stock data for each of the Industry

Comments

Sign in to join the discussion.

MIT Licensed