Skip to main content
100%

Activity6

✓ Published0🌍 Public
Hharipriyaa07
Last edited Jun 14, 2023
Created on Jun 14, 2023
Forked from Hello VizHub

This example loads a CSV from a GitHub gist using `d3.csv` and renders the first ten rows as JSON inside a `<pre>` element appended to the body via `d3.select`. It imports `select`, `csv`, and `csvFormat` from D3 v5, and computes the dataset size in kilobytes with `csvFormat`. The page also demonstrates local ES6 module imports with an exported message variable, though that message is not displayed in the visible output. The static SVG background image is embedded directly in the HTML.

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