Skip to content

A Flask application with React frontend. This app uses React Victory Charts to demonstrate data visualization ideas.

License

Notifications You must be signed in to change notification settings

AllynH/flask-data-visualization

 
 

Repository files navigation

Flask Data Visualization:

This is the code base for my PyCon Ireland 2019 presentation.

For more information and to view my PyCon IE presentation visit my blog:

This project is a fork of Miguel Grinbergs Microblog project:

See bottom of README for details.

How to run:

Set environment variables:

set FLASK_APP=microblog.py

set FLASK_ENV=development

Run command:

flask run

View Finance charts:

Here are some example routes.

The development of these routes was discussed in my PyCon Ireland talk:

Company 1:

http://127.0.0.1:5000/finance/1/2018

Company 2:

http://127.0.0.1:5000/finance/2/2017

To directly view the JSON response from an API request:

http://127.0.0.1:5000/api_1_0/get_finances/1/2018

To view some chart examples:

All Victory Chart code within these routes was directly copied from: https://github.com/FormidableLabs/victory

http://127.0.0.1:5000/chart_examples

.

.

.

.

Below follows oiginal README.md:

Welcome to Microblog!

This is an example application featured in my Flask Mega-Tutorial. See the tutorial for instructions on how to work with it.

About

A Flask application with React frontend. This app uses React Victory Charts to demonstrate data visualization ideas.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Python 63.7%
  • HTML 18.3%
  • JavaScript 16.8%
  • Mako 0.4%
  • Dockerfile 0.4%
  • Shell 0.3%
  • CSS 0.1%