Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task-8(Tutorial-4)

Public visualization

Viewing a saved revision (read-only)

9f4ad9854bf44a8d8b936f70a783861a

Task-8(Tutorial-4)

0 stars1🌍 Public
Ttallurisaiteja96@gmail.com
Last edited Apr 9, 2024
Created on Apr 9, 2024
Forked from Hello VizHub

This example demonstrates the basic setup of a VizHub project using D3.js. It loads D3 v5 from UNPKG and uses ES6 module imports to bring in the `select` function from D3 and a local module exporting a message string. The code selects a `div` element with an ID of "message" and sets its text content to "Hello VizHub!". The page also imports CSS from a local stylesheet that centers the message and sets its font size to 12 em.

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.