Skip to content

brunocabral/dataviz-mapping-aju

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interactive Data Visualization of Public Bus Transportation connections between bus stations in Aracaju, Sergipe, Brazil.

The public bus transportation network has a great importance in the routine of the major part of the people of Aracaju, Sergipe, Brazil. However, the mobility inside the network is cloudy for those whom has no knowledge about the bus lines' routes.

This project aimed to bring to surface some information insights about the flow of the current city bus network, hoping to clear some questions:

  • For each bus line: which bus stations they visit?
  • For each bus station: which bus lines visits there? Where can I reach from there? (What other stations?)
  • Which bus stations are the most connected ones? Which ones are the less?

Screenshots

alt screenshots

Demo

Try it now here 👈

Folder

The main file dataviz_mapping_aracaju.html is in root/ directory.

css/ : css files

data/ : JSON source data of bus public transportation

etc/: images and other files

Source

  1. Regional public transportation data retrieved from SMTT Aju (Originally PDF Format).

How to run

  1. Live demo here as mentioned previously.

  2. Locally:

    1. Download and extract the project
    2. Open in browser index.html.
      • But be aware that CORS issue could happen when try loading JSON/CSS files. If this happen, one solution is changing the loading of the respective files to remote (web URLS instead of local) or in Mozilla Firefox disable it (about:config) to able for preview.

Technologies Credits

https://d3js.org/

https://lodash.com/

Credits also to some code snippets found on internet that inspired and were adapted:

  1. Glowing effect
  2. Multiple Links between nodes in force layout
  3. Arc Calculation

Planned updates:

  • Add a dropdown to choose bus line (todo);
  • Show bus lines that visit less than 2 stations (no connections) (todo);
  • Show more info about a bus line selected (url to original pdf) (done);
  • Show a summary visualization of the sequencial station connections when a bus line is selected, in a format similar to this; (done)

About

Information Visualization of Bus Network in Aracaju-SE

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published