Skip to main content
100%

Activity 6

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

This example loads a CSV file from a GitHub gist and displays the first ten rows as formatted JSON in a black, aqua-colored `<pre>` block. The code uses `d3.csv` to fetch and parse the data, `csvFormat` to calculate its size, and D3 selections to append elements to the body. The page also includes an embedded SVG image and a separate ES6 module exporting a greeting message. It runs in a Vue project with D3 v5 loaded via UNPKG, demonstrating local module imports and SVG rendering.

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