Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Transforming Data

Public visualization

Viewing a saved revision (read-only)

2d56def3598d498ebda8ffdef1e38d35

Fork of Transforming Data

0 stars0🌍 Public
Kkratikashetty1102@gmail.com
Last edited Mar 8, 2024
Created on Mar 8, 2024
Forked from Transforming Data

This example demonstrates data transformation by fetching a CSV file of stock data, parsing it with `d3.csvParse`, and grouping the records by industry using `d3.flatGroup`. It then counts the number of stocks per industry and displays the resulting summary as a JSON string in a `<pre>` element. The visualization uses D3 v7's selection and join APIs to render the computed counts, showing a simple text-based aggregation of the underlying dataset.

AI-generated description

Count of Stock data for each of the Industry