Hello VizHub
✓ Published0🌍 Public
This example demonstrates how to display a filtered list of used cars using D3.js and ES6 modules. It imports car data from a local module, filters for vehicles priced under $2000, and formats each entry into a readable string. The page renders the text output using D3’s `select` and sets the content of a `<pre>` element with styled CSS. The data is defined as JSON in `cars.js` and parsed with `JSON.parse`.
AI-generated descriptionAn example showing the capabilities of VizHub.
MIT Licensed