Published
Edited
Jun 8, 2020
1 fork
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
html`<hr>`
Insert cell
Insert cell
Insert cell
html`<hr>`
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
html`<hr>`
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
md` ## Updates `
Insert cell
md`Corrected a data error for Kentucky Governor's party. It is Andy Beshear democrat. Filed an issue with the dtat provider.`
Insert cell
md`Fixed bug with late starting dates distorting the first data point in graphs. Also fixed a last data point bug going to zero.`
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
bluedailydeathsper100kMAline = d3
.line()
.x(d => x(d.date))
.y(d => ydailyNewDeathsPer100K(d.dailyBlueDeaths100KMA))
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
dateStateDataLast = getDataForDate(EndDate)
Insert cell
findState = function(name) {
return dateStateDataAnim.filter(o => o.state === name);
}
Insert cell
partyColors = ["steelblue", "FireBrick", "gray" ]
Insert cell
AsOfDate = d3.utcFormat("%B %d")(EndDate)
Insert cell
import { date as dateString } from "@jashkenas/inputs"
Insert cell
import {checkbox} from "@jashkenas/inputs"
Insert cell
import { radio } from "@jashkenas/inputs"
Insert cell
Insert cell
Insert cell
isExcluded("New York")
Insert cell
EndDate
Insert cell
Insert cell
Insert cell
includeExclude
Insert cell
includeText = includeExclude ? "Include in" : "Exclude from" ;
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
animDuration
Insert cell
Insert cell
Insert cell
EndDate
Insert cell

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more