Skip to main content
100%

D3.js

✓ Published0🌍 Public
Ssannihitha.k23@gmail.com
Last edited Apr 26, 2024
Created on Apr 26, 2024
Forked from Fork of WEBPAGE

This example demonstrates the capabilities of VizHub by loading D3.js and Chart.js through CDN links and rendering interactive data visualizations on an HTML canvas or as embedded SVG images. The interface presents a set of buttons that display different chart types, including bar charts, scatter plots, and distribution graphs, with each button triggering a hide-and-show mechanism between the canvas and an image element. The code imports a local ES6 module for a message and uses Chart.js to create the bar chart on the canvas, while SVG charts are loaded from external GitHub URLs. The styling uses a Roboto font and gradient background for presentation.

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