Skip to main content
100%

Activity 6

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

This example demonstrates loading CSV data from a GitHub gist and rendering the first ten rows as formatted JSON on the page. It uses D3 v5’s `csv` method to fetch and parse the data, then `select` and `append` to insert text elements into the body. The code also imports `csvFormat` to calculate data size, and includes a local ES6 module exporting a message. Rendering is done with SVG 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