Skip to main content
100%

step3

✓ Published0🌍 Public
深深度碎片
Last edited Aug 5, 2016
Created on Aug 5, 2016

This visualization displays daily average temperatures for New York, San Francisco, and Austin from October 2011 through April 2012. Three separate lines, each representing a city, are drawn over time on a common set of axes, allowing for direct comparison of temperature trends and seasonal variations across the locations. The graphic is rendered as an SVG using the D3.js v4 library, employing `d3.line` and `d3.curveBasis` to create smooth paths. The code loads tab-separated data via `d3.tsv`, parses the date column with `d3.timeParse`, and maps the categorical city names to colors using `d3.scaleOrdinal` with the `d3.schemeCategory10` palette.

AI-generated description

Built with blockbuilder.org

gpl-3.0 Licensed

Similar vizzes