Commit 0b1ffc3
committed
Replace NaN with 0 in choropleth visualization data
- When metric values are NaN (undefined, null, or non-numeric), treat as 0
- Prevents missing data from breaking the visualization
- Shows zero values on map for regions with no data instead of being blank1 parent 08c43a3 commit 0b1ffc3
1 file changed
Lines changed: 8 additions & 4 deletions
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1801 | 1801 | | |
1802 | 1802 | | |
1803 | 1803 | | |
1804 | | - | |
1805 | | - | |
1806 | | - | |
1807 | | - | |
| 1804 | + | |
| 1805 | + | |
| 1806 | + | |
| 1807 | + | |
| 1808 | + | |
| 1809 | + | |
| 1810 | + | |
| 1811 | + | |
1808 | 1812 | | |
1809 | 1813 | | |
1810 | 1814 | | |
| |||
0 commit comments