Skip to main content
100%

Activity 6

✓ Published0🌍 Public
HHarshita Vairagade
Last edited Apr 13, 2024
Created on Apr 13, 2024
Forked from Activity 7_Task 1

This example demonstrates how to set up a minimal VizHub project using D3 v5 and ES6 modules. It dynamically updates the text of an HTML `<div>` element with the message "Hello VizHub!" using D3’s `select` function. The project showcases importing both external D3 APIs and local JavaScript modules, along with linking a separate CSS file for styling. The code initializes a variable and a regular expression, though these are not used in the rendering.

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