Interactive Graph
✓ Published0🌍 Public
This interactive graph visualizes changes in U.S. import and export values across six commodity categories over multiple time periods. Users can switch between different data snapshots and toggle between imports and exports, with animated bar transitions updating the display. The visualization uses D3.js (v7) with SVG rendering, leveraging scales, axes, and transition methods to create smooth updates. The bar chart encodes values on a linear scale, and the code includes predefined datasets for each period.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed