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

Enhancing Japan with Interactive Data Visualization: Mapping Train Stations and Convenience Stores

Welcome to our latest project update! We’re excited to introduce Hikarie, an innovative interactive map of Japan that brings data to life through a visually engaging pixel-based interface.

Overview of the Project

Hikarie offers users a dynamic exploration of Japan’s extensive transportation and retail networks. The map features over 8,500 train stations and more than 55,000 convenience stores (konbini), all rendered with meticulous detail using thousands of individual pixels. This pixelated approach allows for an immersive and responsive experience, highlighting the density and distribution of key locations across Japan.

Key Technical Components

Developing such a detailed and interactive visualization required a carefully selected technology stack:

  • Framework: Built on Next.js to ensure a fast, scalable, and React-compatible frontend environment.
  • Rendering Engine: Utilized Pixi.js for high-performance rendering of thousands of interactive pixels, ensuring smooth user interactions and visual fluidity.
  • Map Logic & Data Manipulation: Leveraged D3.js and AmCharts for data-driven map logic, including geographic positioning and dynamic updates.
  • Backend Infrastructure: Employed MongoDB to store and manage the vast dataset of station and store locations efficiently.

Challenges & Solutions

One of the main technical hurdles was achieving seamless interaction with thousands of rendered elements without compromising performance. Combining D3.js’s data manipulation capabilities with Pixi.js’s rendering prowess was particularly rewarding, allowing for real-time responsiveness and detailed visual feedback. This integration required careful optimization to maintain fluidity and responsiveness during user interaction.

Explore the Map

We invite you to explore Hikarie and discover the intricate network of Japan’s transportation and retail infrastructure firsthand. Dive into this pixel-perfect visualization and see how data can create an engaging, informative experience.

Visit the live version here: Hikarie Interactive Map

We hope you enjoy navigating our detailed map of Japan as much as we enjoyed building it. Stay tuned for more updates and new features!


Note: This project exemplifies the power of combining modern web technologies for large-scale, interactive data visualization.


Leave a Reply

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


trustindex verifies that the original source of the review is google.