Skip to main content
Public

Share visualization

Loading preview…

code5

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

code5

0 stars1Public
SSnigdha6698
Last edited Feb 28, 2022
Created on Feb 28, 2022
Forked from Hello VizHub

This example displays a static SVG diagram alongside a text report that summarizes a CSV dataset. The page loads D3 v7 from UNPKG and uses `d3.csv` to fetch data from a GitHub gist, then calculates the file size in kilobytes with `d3.csvFormat`, counts rows and columns, and inserts that message into a `<pre>` container. Styling via `newstyle.css` sets a salmon background and centers the 800-pixel image. The code also includes unused ES6 module imports showing D3’s `select` function and a local `message` export.

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