Skip to main content
100%

Assignment

✓ Published0🌍 Public
SSharankumar02
Last edited Jul 1, 2023
Created on Jun 30, 2023
Forked from Hello VizHub

This example loads a CSV dataset of student alcohol consumption and displays the first ten rows as formatted text. It uses D3’s `csv` method to fetch and parse the data, then appends two `<pre>` elements to the body, one with a label and one with the JSON-stringified rows. The visualization is rendered as SVG within an HTML page that also includes an embedded background image pattern.

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