Giter Club home page Giter Club logo

covid-history-stats's Introduction

R10 - Data Visualization (COVID Tracker) (reflection)

For this project, I created a visualization from the number of COVID-19 cases and deaths. To do this, I called up the JSON from the Covid Tracking API. Unfortunately, this project has been terminated since March 7th, 2021, so the data provided (A. cannot change, and B. contains information only from January 2020-March 7th, 2021.) During this project, I learned about the JSON format and making a visualization from the data provided.

This project included each of the 6 things in one way or another. While Arrays weren't explicitly used, array functions were used to read in data from the JSON function. Conditionals were used to determine whether the new iterated value is the minimum or maximum. Variables were used extensively to remember certain values such as minimum, average, and maximum. Loops were used to search through the entire graph. Almost everything defined was in a function (for example calculatePeriodData)

The main problems I had were initially getting the sketches to work (the JSON isn't properly formatted) and getting the graphs to switch. (The main reason why the code didn't work was because the brackets were improperly placed, and a bracket only meant for whether the indicator was 0 was covering a function meant for when indicator was 1.)

View positive cases with "+/=" and view deaths with "-". A physical keyboard may be required.

covid-history-stats's People

Contributors

alanstired avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.