Wiki: Using Data Visualization to Fight COVID-19
For agents: Markdown version · Wiki index · Explore
- Speaker: Gil Fink
- Event: Reversim Summit 2021
- Video: https://www.youtube.com/watch?v=9K4ZulR_7Ew
- Transcript: /transcripts/2021/57-9K4ZulR_7Ew.md
- Language: Hebrew · Type: talk · Level: intermediate
- Topics: Frontend, Data Science, Databases, Performance
Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.
Summary
The speaker shares the story of developing a COVID-19 contact tracing and data visualization system for the Ministry of Health during the pandemic. The talk covers technical challenges of rendering massive datasets using D3.js combined with React and WebGL-based libraries. Through code examples and a system demonstration, the audience learns how to build performant, interactive data visualizations for complex epidemiological networks.
Key points
- 0:12 The project started at the beginning of the pandemic when the Ministry of Health needed a tool to trace infection chains.
- 4:15 Data visualization translates raw tables and databases into clear visual formats like graphs, charts, and maps.
- 5:32 D3.js is a powerful library that uses a fluent API to transform data and manipulate SVG surfaces for visualization.
- 12:02 Integrating D3 with React requires separating concerns where React manages the DOM and D3 handles math and SVG rendering.
- 18:02 Rendering tens of thousands of daily infected cases using SVG causes performance bottlenecks in the browser.
- 21:02 Combining D3 with PixiJS and WebGL allows rendering large datasets efficiently on a canvas element.
- 26:02 The production system runs on a Python backend with a Neo4j graph database, updating hourly with epidemiological data.
- 31:02 The system features interactive components including hierarchical graphs, force graphs, bubble charts, maps, and dynamic filters.
Takeaways
- Separate UI management from visualization logic when combining frameworks like React with D3.
- Switch from SVG to WebGL-based rendering via Pixi.js when handling large-scale data to maintain high browser performance.
- Use graph databases like Neo4j effectively for querying connected network data such as infection chains.
Questions this talk answers
- How can you combine React and D3.js without conflicting DOM manipulation?
- What is the best way to render tens of thousands of data points in a browser without performance degradation?
- How do you structure a backend architecture to support complex graph queries and real-time data filtering?
Technologies
JavaScript, React, D3.js, PixiJS, WebGL, SVG, Python, Neo4j
Tags
d3.js, data visualization, frontend, graph database, performance optimization, react, webgl