Skip to main content
100%

Fork of Activity 6_Task 1

✓ Published0🌍 Public
KKarnam Abinay Goud
Last edited Oct 20, 2024
Created on Oct 20, 2024
Forked from Activity-6

This example demonstrates a minimal D3.js visualization that renders a text message centered on the page. The code imports the `select` function from D3 and a local ES6 module exporting a string, then uses `select('#message').text(message)` to display the text. It loads D3 v5 from a CDN via UNPKG and includes a CSS file for styling. A regular expression and numeric variable are declared but unused, showing basic JavaScript syntax alongside the core D3 selection and manipulation approach.

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