Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment1_Q10

Public visualization

Viewing a saved revision (read-only)

f5bd60730bbd490da633e8b8e3815997

Assignment1_Q10

0 stars0🌍 Public
Rrikhitakoganti12
Last edited Jul 1, 2023
Created on Jun 29, 2023
Forked from Hello VizHub

This example loads a CSV dataset from a GitHub gist using D3’s `csv` function and displays the first ten rows as formatted JSON inside a `<pre>` element. The page renders a static SVG background image embedded as a base64-encoded JPEG, with D3 v5 loaded via UNPKG. The code imports utilities from D3, appends text elements to the document body, and uses a local ES6 module, though the module’s message is not displayed. It demonstrates basic data fetching, JSON serialization, and SVG backdrop composition.

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.