Aggregation by Country using Map
This example visualizes the geographic distribution of video views for Harvardx and MITx online courses in 2013. Circles positioned using a Mercator projection show total views per location, with a tooltip revealing the country name and view count. The visualization combines React for component rendering with D3’s `geoMercator`, `geoPath`, and `scaleSqrt` for sizing. It overlays aggregated view data from a CSV dataset onto land and graticule shapes generated from TopoJSON world atlas data.
AI-generated descriptionThis is a visualization of the Harvardx/MITx Course-Person Dataset for the academic year 2013. The data shows the number of video views of the online courses, represented by the circles on the map. The data can be found here.
</br>
The world map behind the points is a Mercator type map using the World Atlas TopoJSON. The points are off by a small fraction (down and to the left) however it fits much better on the Mercator projection over the Natural Earth projection. When the user hovers over each point, they can see the latitude and logitude of that deployment.