Hello VizHub
✓ Published0🌍 Public
This example demonstrates a minimal D3.js application that renders a filtered list of car data as plain text in the browser. It imports the `select` function from D3 and local ES6 modules, parsing a hardcoded JSON array of five cars. The code filters cars priced under $2000 and formats each entry with year, make, model, and price using template literals. The result is displayed in a styled `div` element, showcasing basic data import, manipulation, and DOM selection with `d3.select`.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed