Gas Prices
✓ Published0🌍 Public
This example visualizes the rising and falling price of gasoline over time using a line chart. The chart plots price points across a continuous timeline, with hover interactions that display the exact date and price values for each data point. The visualization is built with React and uses the Visx library for chart rendering, including its scale functions for mapping data to pixel coordinates. The data is derived from a static dataset embedded in the code, and the project is set up as a reusable React component.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed