Skip to content
Open

V2 #45

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
57576e9
Use autocovs + covid19datahub
felipemfp Feb 20, 2022
75672e1
Improve general performance
felipemfp Feb 20, 2022
2ea4f9f
Add date range to Metrics
felipemfp Feb 20, 2022
3e5975a
Disable some chart types based on config
felipemfp Feb 20, 2022
f59b72f
Remove unused vars
felipemfp Feb 20, 2022
299359d
Add autocovs api as env var
felipemfp Feb 20, 2022
6cca9bd
Fix autocovs-api
felipemfp Feb 20, 2022
07dbf0e
Add new vaccine charts
felipemfp Feb 21, 2022
4cfd007
Fix similarity explorer
felipemfp Feb 22, 2022
1f292e0
Update title
felipemfp Feb 24, 2022
b4ef42a
Add waves and measurements
felipemfp Mar 21, 2022
45349fd
Update colors
felipemfp Mar 21, 2022
56beadb
Add compare with mode
felipemfp Mar 21, 2022
c75a4ba
Fix smooth params
felipemfp Mar 21, 2022
d259906
Add insights
felipemfp Mar 28, 2022
0f87757
Add otsu method
felipemfp Apr 25, 2022
e3d566e
Add new storytelling module
felipemfp May 2, 2022
3d93321
Remove unused vars
felipemfp May 2, 2022
5197de8
Fix variants per country
felipemfp May 2, 2022
9411830
Add vaccination events + waves to Storytelling
felipemfp May 4, 2022
6501bfd
Add location story
felipemfp May 4, 2022
b82e9d7
Separate charts to display cases, policies and deaths
felipemfp May 6, 2022
a2ef261
Fix tooltip and axis label
felipemfp May 9, 2022
2282e7f
Add similarity debugger
felipemfp May 11, 2022
eb7e5e8
Add normalized values to similarity debugger
felipemfp May 11, 2022
2a145a5
Show diff charts
felipemfp May 11, 2022
9f7ddaf
Add hook for selected region + fixes
felipemfp May 16, 2022
71fc63b
Add waves in horizontal
felipemfp May 16, 2022
ac9c06c
Update waves colors
felipemfp May 16, 2022
01703cb
Add new comparison mode
felipemfp May 18, 2022
335c325
Add unified restriction series
felipemfp May 18, 2022
2303e31
Group restrictions on story
felipemfp May 18, 2022
89f46fa
Fixes
felipemfp May 23, 2022
fdd6466
Add news
felipemfp May 23, 2022
debd942
Add UI/UX enhancements
felipemfp May 25, 2022
78ec0f0
Improve similarity debugger tooltip
felipemfp May 25, 2022
681c1cf
Fix last point tooltip
felipemfp May 25, 2022
db271f1
Improve story paragraphs
felipemfp May 27, 2022
acd9dc4
Re-enable similarity explorer
felipemfp Jun 6, 2022
b68d74b
Fix legend + visibility control
felipemfp Jun 27, 2022
fe0c59f
Add chart selector to similarity visualizer + region groups
felipemfp Jun 27, 2022
233ba6b
Sort location groups
felipemfp Jun 27, 2022
77ce911
Add ability to resize charts
felipemfp Jun 27, 2022
c77eb08
Apply sorting on tooltip
felipemfp Jun 30, 2022
97fe847
Optimize tooltips
felipemfp Jul 4, 2022
d32dd64
Use boosted charts for Similarity Visualizer
felipemfp Jul 12, 2022
853892d
Add ability to highlight single series
felipemfp Jul 22, 2022
a763a12
Improve similarity vis
felipemfp Aug 19, 2022
495cf52
Fix bug in colored axis
felipemfp Aug 22, 2022
bfd8f73
Disable boost when location is selected
felipemfp Aug 22, 2022
4dcab01
Make threshold configurable
felipemfp Aug 22, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .env
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
REACT_APP_SIMILARITY_API=https://similarity-api.by.felipemfp.dev
REACT_APP_PREDICTIONS_API= https://covid19-tools.uc.r.appspot.com
REACT_APP_SIMILARITY_API=https://covid19-similarity-api-v0.ufrgs.dev
REACT_APP_PREDICTIONS_API=https://covid19-tools.uc.r.appspot.com
REACT_APP_AUTOCOVS_API=https://autocovs-api.by.felipemfp.dev
1 change: 1 addition & 0 deletions .env.local.backup
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
REACT_APP_AUTOCOVS_API=http://127.0.0.1:8000
36,910 changes: 28,433 additions & 8,477 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
"date-fns": "^2.11.1",
"downloadjs": "^1.4.7",
"fuse.js": "^5.1.0",
"highcharts": "^10.0.0",
"highcharts-react-official": "^3.1.0",
"lodash": "^4.17.15",
"material-color-hash": "^0.1.6",
"memoize-one": "^5.1.1",
Expand All @@ -36,6 +38,7 @@
"pluralize": "^8.0.0",
"polished": "^3.6.1",
"query-string": "^6.12.1",
"re-resizable": "^6.9.9",
"react": "^16.13.1",
"react-apexcharts": "^1.3.6",
"react-dom": "^16.13.1",
Expand Down
2 changes: 1 addition & 1 deletion public/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
<title>COVID-19 Analysis Tools</title>
<title>COVID-19 Visual Analytics Tools</title>
<meta name="description" content="A set of configurable tools around COVID-19 data." />
<script type="text/javascript">
// Single Page Apps for GitHub Pages
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>COVID-19 Analysis Tools</title>
<title>COVID-19 Visual Analytics Tools</title>
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/[email protected]/dist/semantic.min.css" />

<!-- Start Single Page Apps for GitHub Pages -->
Expand Down
4 changes: 2 additions & 2 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"short_name": "COVID-19 Analysis Tools",
"name": "COVID-19 Analysis Tools",
"short_name": "COVID-19 Visual Analytics Tools",
"name": "COVID-19 Visual Analytics Tools",
"icons": [
{
"src": "favicon.ico",
Expand Down
69 changes: 47 additions & 22 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import ChartEditor from "./components/ChartEditor";
import ListDescriptor from "./components/ListDescriptor";
import Loader from "./components/Loader";
import Metrics from "./components/Metrics/Metrics";
import PredictionsEditor from "./components/PredictionsEditor";
import SimilarityExplorer from "./components/Similarity/Explorer";
import TrendEditor from "./components/TrendEditor";
import { DATA_SOURCES } from "./constants";
Expand All @@ -18,27 +17,31 @@ import useMetadata from "./hooks/useMetadata";
import styled from "styled-components";
import first from "lodash/first";

import AutocovsApp from "./components/Autocovs/AutocovsApp";
import StorytellingContainer from "./components/Storytelling/StorytellingContainer";
import SimilarityDebuggerContainer from "./components/SimilarityDebugger/SimilarityDebuggerContainer";

const LAST_TAB_KEY = "covid19-tools.api.lastTab";

const MENU_ITEMS = [
{
name: "Chart Editor",
path: "/editor",
name: "Data Explorer",
path: "/data-explorer",
component: ChartEditor,
icon: "pie chart",
},
{
name: "Trend Visualizer",
path: "/trends",
path: "/trend-visualizer",
component: TrendEditor,
icon: "chart line",
},
{
name: "Prediction Visualizer",
path: "/predictions",
component: PredictionsEditor,
icon: "chart bar",
},
// {
// name: "Prediction Visualizer",
// path: "/predictions",
// component: PredictionsEditor,
// icon: "chart bar",
// },
// {
// name: "Projection Visualizer",
// path: "/projections",
Expand All @@ -48,28 +51,50 @@ const MENU_ITEMS = [
// },
{
name: "Similarity Explorer",
path: "/similarity/:region?",
path: "/similarity-explorer/:region?",
component: SimilarityExplorer,
icon: "searchengin",
},
{
name: "Region Metrics",
path: "/metrics/:region?",
name: "Location Inspector",
path: "/location-inspector/:region?",
component: Metrics,
icon: "dashboard",
external: false,
},
{
name: "COVID-19 Literature",
path: "/literature",
external: "http://coronavis-text-analytics-tool.herokuapp.com",
icon: "quote left",
name: "Insights Visualizer",
path: "/insights-visualizer/:region?",
component: StorytellingContainer,
icon: "map outline",
external: false,
},
{
name: "Brazil Dashboard",
path: "/brazil",
external: "https://covid19.ufrgs.dev/dashboard/",
icon: "window restore outline",
name: "Similarity Visualizer",
path: "/similarity-debugger/:region?",
component: SimilarityDebuggerContainer,
icon: "find",
external: false,
},
{
name: "Waves Debugger",
path: "/waves-and-measurements/:region?",
component: AutocovsApp,
icon: "sliders horizontal",
external: false,
},
// {
// name: "COVID-19 Literature",
// path: "/literature",
// external: "http://coronavis-text-analytics-tool.herokuapp.com",
// icon: "quote left",
// },
// {
// name: "Brazil Dashboard",
// path: "/brazil",
// external: "https://covid19.ufrgs.dev/dashboard/",
// icon: "window restore outline",
// },
];

function App() {
Expand All @@ -95,7 +120,7 @@ function App() {
<img src={LogoUFRGS} height="100" alt="Universidade Federal do Rio Grande do Sul (UFRGS)" />{" "}
<div>
<Header as="h1">
COVID-19 Analysis Tools
COVID-19 Visual Analytics Tools
<Header.Subheader>A set of configurable tools around COVID-19 data.</Header.Subheader>
</Header>
</div>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading