Skip to main content
100%

Transforming Data

✓ Published0🌍 Public
Vvineelaramulapalli32
Last edited Jul 1, 2023
Created on Jul 1, 2023

The visualization loads smartphone data from a CSV file and groups it by mobile model name, calculating the average price per model. It demonstrates data transformation with D3.js functions like `csvParse`, `flatRollup`, and `sum`, then outputs the aggregated summary as formatted JSON text within the container. The example highlights modular ES6 imports and asynchronous data fetching via `fetch`, rendering results in a simple text-based display using D3's `select` and `join` operations.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes