Temperature Visualization
This interactive line chart uses the D3.js brush-and-zoom technique to explore hourly bike-sharing usage in Washington DC, highlighting how the number of users correlates with temperature. The visualization, built with D3 v4 and rendered as SVG, displays temperature as a colored line over a two-year period (2011-2012). Users can brush along the lower time-series context chart to select a time range, and the main panel zooms in to reveal finer-grained patterns. The chart is part of a broader exploratory project investigating relationships between rider counts and weather attributes like temperature, humidity, and windspeed. Data comes from the UCI Machine Learning Repository's Bike Sharing dataset, and the implementation builds on prior work by mbostock and curran, with the source code available under an MIT license.
AI-generated descriptionThe Visualization
This is part of an exploratory visualization project looking at the time of day use patterns and the relationship between the number of users and quantitative weather attributes (temperature, humidity and windspeed).
The Data
Washington DC Bike Sharing Data Set
This data set contains the number of bike share system users (casual and registered) for each day (and hour) for two years (Jan 2011 - Dec 2012), as well as the day type (holiday, workingday), weather situation, temperature and humidity, apparent temperature and windspeed.
This data is from UCI Machine Learning Repository: Bike Sharing Data Set
The dataset file can be found here as a zip archive.
Daily Data Block Summary Hourly Data Block Summary
Inspiration and Sources
forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/34f08d5e11952a80609169b7917d4172'>Brush & Zoom</a> forked from <a href='http://bl.ocks.org/curran/'>curran</a>'s block: <a href='http://bl.ocks.org/curran/90240a6d88bdb1411467b21ea0769029'>Line Chart of Temperature</a>
forked from <a href='http://bl.ocks.org/sajudson/'>sajudson</a>'s block: <a href='http://bl.ocks.org/sajudson/ad02a7cf9ba7fd7eed0017ecd4dd0b13'>Global Carbon Emissions by Year, 1751-2011</a>
forked from <a href='http://bl.ocks.org/sajudson/'>sajudson</a>'s block: <a href='http://bl.ocks.org/sajudson/6868f6f0836fc6f88566587b9e9e4a50'>Time Series Sketch Prototype</a>