Skip to main content
100%

Trump Topics Streamgraph

✓ Published0🌍 Public
CCurran Kelleher
Last edited Sep 27, 2017
Created on Sep 27, 2017

A streamgraph visualizes search interest in Trump-related news events from January to September 2017, using Google Trends data indexed to 100. The chart stacks 40 topics as colored, wiggling areas, with labels positioned via `d3.areaLabel` and wrapped using a custom `wrap` function. Built with D3 v4, it applies `d3.stack` with `stackOffsetWiggle` and `stackOrderInsideOut`, renders SVG paths via `d3.area` and `curveBasis`, and includes major and minor time axes.

AI-generated description

A StreamGraph visualization of Google Trends: Search interest in Trump-related news events (indexed separately) Jan. 21 - Sept. 5. Notes from the data file: Search interest in news events in the US between January 1, 2017 and September 1, 2017. Values have been indexed to 100 for each news event, where 100 is the maximum search interest. This data is from

Uses d3-area-label to position labels, in addition to the text wrap technique from Wrapping Long Labels.

forked from <a href='http://bl.ocks.org/curran/'>curran</a>'s block: <a href='http://bl.ocks.org/curran/30e50fe82819ef73c6b8d9f2d31b99a8'>How Americans Spend Time</a>

mit Licensed

Similar vizzes