Skip to main content
100%

Fork of Hello VizHub practice

✓ Published0🌍 Public
KKhatera Alizada
Last edited Jan 21, 2023
Created on Jan 21, 2023
Forked from Hello VizHub

This example displays the contents of a CSV file loaded from `data.csv` and renders it as raw JSON inside a `<pre>` element. The visualization uses D3 v5’s `csvParse` to convert the tabular data into an array of objects, and `select` to target the container for updating the DOM. The data file contains healthcare service statistics by age group and gender across multiple years. A separate `viz.js` function manages the data loading lifecycle, updating state from undefined to LOADING before displaying the parsed records.

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