Skip to main content
Public

Share visualization

Loading preview…

Activity 6

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Activity 6

0
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.

Comments

Sign in to join the discussion.

MIT Licensed