nikhilrwadekar / treespree

TreeSpree: Data Visualization for Project 2 @ Langara WMDD

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TreeSpree

Vancouver Street Trees Data Visualization

About

TreeSpree is a web application meant to inform users about street trees across Vancouver, BC. It will provide insight on which species are around the cities, how they are useful and also where to locate them around the city.

Users can get extensive information fetched from a number of reliable APIs making the eventual experience cohesive, essentially a one-stop destination for tree lovers, educators, and urban planners alike.

The API

Provides extended information about the city trees in Vancouver. Thanks to Vancouver's Open Data combined with Wikipedia's Open API.

Usage

How to get data from the TreeSpree API (Alternatively, you can setup your own link in .env as shown in the .env.example file)

/api/trees

Lists all trees with relative information.

/api/trees/types

Lists all tree types with a total count of each in Vancouver.

/api/trees/type/TREE_TYPE

Get a particular tree type with advanced filters, if needed.

Parameters
query value example
count Number Default: 100 /api/trees/type/maple?count=150
neighbourhood Text /api/trees/type/maple?neighbourhood=OAKRIDGE

Lists all trees with relative information.

/api/neighbourhoods

Lists all neighbourhoods with its total tree count.

Technologies Used

The Frontend - Powered by React & D3

The Backend - MySQL DB served by an API powered by Express.js

About

TreeSpree: Data Visualization for Project 2 @ Langara WMDD


Languages

Language:JavaScript 83.6%Language:CSS 15.0%Language:HTML 1.3%Language:Shell 0.1%