Skip to content

leo411/NEO-Data-Visualization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NEO-Data-Visualization

Welcome to NEO-Data-Visualization 🌍🌌😎

screesnhot

The web-app NEO-Data-Visualization is a single page react application which gives you a better understanding of Near Earth Objects (NEO). Through two types of data visualization - bar chart and a table - this app gives you a better idea of NEO size and orbiting body. As an extra feature, you can paginate through the NEO data to see any of the thousands of NEO's out there in the solar system. Enjoy your journey through Near Earth Objects 🌍🌌🔭

screesnhot

This app uses :

  1. React logo React

  2. TypeScript logo Type Script

  3. Google Charts logo Google Charts

  4. React Google Charts logo React Google Charts

The project uses a starting point of Create React App. Typescript has been added for type safety and improved developer experience. Finally, React Google Charts was used to supply the React and Typescript bindings for Google Charts. The project uses React hooks (specifically, useState for component state and useEffect to make API calls to the NASA NEO API via javascript's fetch).

The codebase is organised into three simple components, BarChart, Table and Dropdown. BarChart displays the selected NEO data using the bar chart of Google Charts. It takes neoData and selectedPlanet as props. Table displays the selected NEO data in the Google Charts Table format. It takes the same props as the BarChart component. Dropdown is a clickable un-ordered list which displays and makes selectable the potential orbiting bodies. It takes neoData and setSelectedPlanet as props.

All types for the app are organised under the types.tsx file in the src folder.

Get started 🚀🚀

To run this project locally :

npm install

npm start

To run a production build :

npm run build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published