Skip to main content
100%

Data Visualization D3.js

✓ Published0🌍 Public
Hhikmet.demirci@gmail.com
Last edited Mar 11, 2022
Created on Mar 11, 2022
Forked from Hello VizHub

This example demonstrates how to build a simple data report using D3.js and ES6 modules in the VizHub environment. It displays a text message listing cars priced under $2,000, filtered from a local JSON dataset and formatted with a custom helper function. The code loads D3 from a CDN via UNPKG, imports local modules like `cars` and `formatCar`, and updates the DOM using `document.getElementById` to set text content.

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