I mapped 8.5k+ train stations & 55k+ konbini onto an interactive pixel map of Japan using Next.js, Pixi.js and D3

Exploring Japanโ€™s Transit and Convenience Networks Through an Interactive Pixel Map

In the realm of data visualization, creating engaging and informative visual representations of complex information can be both rewarding and challenging. Recently, I embarked on a project to bring Japanโ€™s extensive transportation and convenience store networks to life through an interactive, pixel-based map.

Introducing Hikarie: An Immersive Data Visualization of Japan

Hikarie is a dynamic digital map that showcases over 8,500 train stations and more than 55,000 convenience stores (konbini) across Japan. The map is designed to provide users with a detailed and interactive experience, allowing them to explore the spatial distribution of these key infrastructure points using an intuitive pixel-driven interface.

Key Features and Capabilities:

  • Visualizes large-scale geospatial data with thousands of individual pixels
  • Offers real-time interactivity to explore regions, stations, and store locations
  • Presents complex data insights in a visually appealing manner

Technical Approach and Challenges

Building Hikarie involved integrating multiple advanced technologies to render and manage the map efficiently. The main challenge was ensuring smooth interactivity despite the sheer volume of visual elementsโ€”thousands of pixels representing different data points.

Technology Stack:

  • Framework: Next.js powered the overall application, providing a robust React-based structure with server-side rendering capabilities.
  • Rendering Engine: Pixi.js was utilized for high-performance, WebGL-based rendering of the pixel map, enabling smooth interactions and real-time updates.
  • Data Visualization & Map Logic: D3.js handled geographical data manipulation and complex map logic, while AmCharts complemented certain visual aspects.
  • Backend Database: MongoDB managed the vast dataset, ensuring quick retrieval and dynamic updates.

Innovative Integration

One of the most rewarding parts of this project was combining D3.js with Pixi.js. Merging these powerful libraries allowed me to leverage D3โ€™s robust data handling with Pixiโ€™s fast rendering capabilities, resulting in a fluid and interactive user experience.

Explore the Map

Interested in exploring Japanโ€™s transportation and retail landscape through data? Visit the live site at https://hikarie.app and experience a new way to see Japanโ€™s infrastructure laid out in vibrant pixels.

Feel free to delve into the map, uncover patterns, and gain new insights into Japanโ€™s extensive networks. I hope you find this project as exciting and engaging as I did creating it!


Leave a Reply

Your email address will not be published. Required fields are marked *