Visualizing Olympic Medals with F# and Fable
summary
An interactive website (http://rio2016.thegamma.net) exposes every visualization as editable source so visualizations can be reproduced, modified and re-run; it parses a compact transformation language (serialized discriminated unions), evaluates queries in-browser or on the server, and can emit SQL. Implementation uses F# and Fable, leverages type providers for autocompletion and data-aware editing, embeds the Monaco editor for live code previews, and follows an Elm-style update/render model. The demos work live (you can rerun the Michael Phelps comparison and see Cold War spikes) and the code is on GitHub.
AI-written summary · about
chapters (7)
- 0:00Start
- 10:22Object-oriented programming Functional programming Test-driven development
- 13:04Modeling data transformations
- 19:30DEMO: Evaluating data transformation
- 43:26Modeling user interfaces
- 48:17Elm-style architecture
- 58:31Summary
related talks
34mThe Gamma: Democratizing data science
21mVisualising Enterprise Data with D3
38mThe Gamma: Programming Tools for Data Journalism
55mF# and Fable: re-think web development
22mVisualising Enterprise Data with Angular & d3
48mDesigning composable functional libraries, not just for data visualization
42mPractical Introduction to Building Browser Apps with F# and Fable
31mCity as a Function
