Skip to main content

EDA tool for spatio-temporal data

Project description

GeoViz

GeoViz is an Exploratory Data Analysis tool designed to empower less-technical data analysts in visualizing and interpreting spatio-temporal data. It offers a user-friendly, interactive web interface built on Panel, ensuring simplicity and maximal explainability. The software provides visualizations, including 3D geographical coordinates, seasonality analysis, heatmap displays, and categorization/clustering using Natural Language Processing (NLP). With a focus on simplicity and shareability, GeoViz enhances data analysis for a broader audience.

The documentation can be found at our readthedocs page.

Example Usage

First, install GeoViz:

pip install rrcgeoviz

Once done, create an options.json file for your spatio-temporal CSV dataset. Here's a basic example:

{
    "latitude_column": "latitude",
    "longitude_column": "longitude",
    "time_column": "date",
    "poi_analysis": true,
    "month_year_heatmap": true
}

Finally, run GeoViz with the following command:

rrcgeoviz path/to/dataset.csv --options path/to/options.json

A tab should open in your browser with a heatmap and Points of Interest (POI) analysis!

Brief overview of how it works (for contributers)

When running from the command line, the main() function in src/rrcgeoviz/geoviz_cli.py runs. The options and dataset are stored in an Arguments object (found in the same file) and passed to the render_panel() function at src/rrcegeoviz/panel/main_panel.py.

Render_panel creates a Bootstrap Panel template which has a "main" element. Based on the options in the Arguments, different panel components (e.g. heatmap, POI, etc.) are added to the "main" element in addCorrectElements(), called by render_panel().

Code that generates data should be called in a generateData() function called by main() before render_panel(). All that the panel components should do is create visualizations of the data, not create it!

Here's a general flow of how to add new components:

  1. If new data is required (e.g. distance to nearest POI) create a new data generation function file in src/rrcgeoviz/datagenerators.
  2. If a new data generator was made, add a call to it in generateData().
  3. Create the panel component in src/rrcgeoviz/panel/panel_components. Look at other components in the directory for a sense of what they look like.
  4. Add a check for the relevant option in addCorrectElements(), looking at other examples to see how it's done. Be sure to add checks for other options required for it to work (e.g. time_column).

That's pretty much it!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rrcgeoviz-0.0.5.1.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

rrcgeoviz-0.0.5.1-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file rrcgeoviz-0.0.5.1.tar.gz.

File metadata

  • Download URL: rrcgeoviz-0.0.5.1.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for rrcgeoviz-0.0.5.1.tar.gz
Algorithm Hash digest
SHA256 58352b73cf7f5dcc8af889280b0368c86fab973995fb91abb82aec130a8a6292
MD5 b3b7107d38d6c412f93a2130d8bf5b7b
BLAKE2b-256 30b41b88211632c76e3c2d6132bb65a4965a140c196194ccef1e8b9315bb2c6a

See more details on using hashes here.

File details

Details for the file rrcgeoviz-0.0.5.1-py3-none-any.whl.

File metadata

  • Download URL: rrcgeoviz-0.0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for rrcgeoviz-0.0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4cc3eb436007cdd4b57cd66216dd62fa481b6dac2f225ef2baa2b525a4e6e658
MD5 677a9778e99a93ef0f32afda8b744549
BLAKE2b-256 c8baecb9265789b2b0371597dde42eb27af36336778c9c02b04e2eebbbcd3bb9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page