Skip to main content
100%

Activity6_task2

✓ Published1🌍 Public
DDeekshitha Annreddy
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Activity6_task2

This example demonstrates the basic structure of a VizHub project, showing how to load D3 via a CDN and use ES6 modules for local code organization. The index.html file includes the D3 library from UNPKG and links to a stylesheet, while index.js imports the select function from d3 and a custom message from myMessage.js. The code sets the text content of a div element with the ID “message” to display “Hello VizHub!”, styled with large centered text via CSS. The data.csv file is included but not referenced in the visualization logic.

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