Assignment2Question2
✓ Published0🌍 Public
This example shows a 2,400-pixel-wide area chart of New York City monthly temperatures across years, with red circular markers at each data point that reveal a tooltip on hover. The visualization uses D3 v7 to load CSV data from a GitHub gist, parse the Temperature column, and render an SVG path via the `d3.area` generator with `d3.scaleBand` and `d3.scaleLinear` axes. The tooltip is implemented as an HTML div that transitions opacity on `mouseover` and `mouseout`, while the chart includes rotated axis labels and a steelblue fill. The code runs in a plain HTML page with inline CSS for the container and tooltip styling.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed