The Urban Toolkit is a flexible and extensible visualization framework that enables the easy authoring of web-based visualizations through a new high-level grammar specifically built with common urban use cases in mind.
The Urban Toolkit: A Grammar-based Framework for Urban Visual Analytics
Gustavo Moreira, Maryam Hosseini, Md Nafiul Alam Nipu, Marcos Lage, Nivan Ferreira, Fabio Miranda
IEEE Transactions on Visualization and Computer Graphics (Volume: 30, Issue: 1, January 2024)
Paper: [DOI], [Arxiv]
This project is part of the Urban Toolkit ecosystem, which includes Curio and UTK. Curio is a framework for collaborative urban visual analytics that uses a dataflow model with multiple abstraction levels to facilitate collaboration across the design and implementation of visual analytics components. UTK is a flexible and extensible visualization framework that enables the easy authoring of web-based visualizations through a new high-level grammar specifically built with common urban use cases in mind.
- Easy integration of physical and thematic layers.
- Rapid iteration over the visualization design space.
- Data transformation to support visualization tasks.
- Support for 2D and 3D maps.
- Support for juxtaposed and embedded plots.
- Integration with OpenStreetMap.
UTK leverages several spatial packages, such as Geopandas, OSMnx, Osmium, Shapely. To facilite the installation of UTK, we have made it available through pip, only requiring the following commands in a terminal / command prompt:
pip install utk
UTK requires Python 3.9, 3.10, or 3.11 (there is an issue with 3.12 that is on our TODO list to solve). If you are having problems installing UTK in Mac OSX because of Osmium, make sure you have CMake installed as well (e.g., through conda or Homebrew).
UTK has been tested on Linux (Ubuntu 23.04), Windows 10 & 11, and MacOS 13.
For detailed instructions on how to use the project, please see the usage document. A set of examples can be found here. If you'd like to contribute, see the contributions document for guidelines. For questions, join UTK's Discord server.
- Gustavo Moreira (UIC)
- Maryam Hosseini (UC Berkeley)
- Md Nafiul Alam Nipu (UIC)
- Marcos Lage (UFF)
- Nivan Ferreira (UFPE)
- Fabio Miranda (UIC)
@ARTICLE{utk_2024,
author={Moreira, Gustavo and Hosseini, Maryam and Alam Nipu, Md Nafiul and Lage, Marcos and Ferreira, Nivan and Miranda, Fabio},
journal={IEEE Transactions on Visualization and Computer Graphics},
title={{The Urban Toolkit}: A Grammar-Based Framework for Urban Visual Analytics},
year={2024},
volume={30},
number={1},
pages={1402-1412},
doi={10.1109/TVCG.2023.3326598}
}
UTK is MIT Licensed. Free for both commercial and research use.
Curio and the Urban Toolkit have been supported by the National Science Foundation (NSF) (Awards #2320261, #2330565, and #2411223), Discovery Partners Institute (DPI), and IDOT.