Skip to main content
100%

Untitled

✓ Published0🌍 Public
Rrainyrainyguo
Last edited Nov 13, 2020
Created on Nov 13, 2020
Forked from HTML Starter

This interactive line chart visualizes the sentiment polarity of tweets from a U.S. presidential Twitter account from June 14 to June 17, 2020, using a dataset (`crawled_mini.csv`) that maps hourly timestamps to polarity scores. The chart plots the polarity values over time, with a line graph showing the trend; users can filter the view by a time range via a Metro UI double slider or select a specific hour from a dropdown menu. The visualization is built with D3.js (v3), using `d3.time.scale`, `d3.svg.axis`, and `d3.svg.line` to render the axes and line, while a custom `d3.legend` function adds a legend. The Y-axis spans from -1 to 1 to represent the polarity range, and the line is styled in steelblue.

AI-generated description
MIT Licensed

Similar vizzes