Giter VIP home page Giter VIP logo

website's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

website's Issues

[BUG] Search (CSE) results seem to have poor quality and coverage

For example, a search for "San Francisco" shows two pages of results, and I don't think it has the actual SF node: http://datacommons.org/search?q=san%20francisco (https://screenshot.googleplex.com/S26E0O6h0YA)

To get to a node in the browser, I have been using the place explorer tool to search a place, get its DCID, and then plug it into the browser :)

I wonder if we should expose that on the main page too. Or, "merge in" results from some combo of auto-complete / CSE / legacy-search to improve the experience.

[BUG] FAQ needs updating

Describe the bug

FAQ is missing refs to some APIs, and is using OKG/Open Knowledge Graph terminology.

[Feedback] Consider UI Treatment for admin area containment info

Feedback

Right now, browser randomly selects one of multiple typeOf to display. For states in the US, some are under "contained in place of Admin Area1", others are under "contained in place of State", yet others are under. "contained in place of Admin Area"

About

URL: https://browser.datacommons.org/kg?dcid=country/USA

Expected behavior

All under "State" or "AdminArea1", etc.

Screenshots

If applicable, add screenshots to help explain the issue or suggestion.

image
image

[BUG] Timeline sidebar expand carrot occasionally missing

Describe the bug

On Timeline, I found some carrots missing:

To Reproduce

URL: https://staging.datacommons.org/tools/timeline#&place=geoId/0654092,geoId/06059&ptpv=Person,percent,healthOutcome,Diabetes,age,Years18Onwards__Person,percent,healthOutcome,Diabetes,gender,Female,age,Years20Onwards__Person,percent,healthOutcome,Diabetes,gender,Male,age,Years20Onwards

Expected behavior

Always have carrots to show expand feature.

Screenshots

If applicable, add screenshots to help explain your problem.
image

image

Additional context

Scatter seems to be fine (but is it intentionally missing disasters?)

[BUG] Empty Fourth Page of Search Results

Describe the bug

When typing 'drug' into the search bar, the results show there are 4 pages. If the 4th page is clicked, it displays the No Results page. If the 3rd page is clicked, then it appropriately no longer displays a 4th page option.

To Reproduce

URL: https://datacommons.org/search?q=drug
Browser: Chrome

Steps to reproduce the behavior:

  1. Go to https://datacommons.org/search?q=drug
  2. Click on '4' at the bottom of page to get the No Search Results page
  3. Re enter 'drugs' into search bar
  4. Click on '3' at bottom of page, notice that '4' is not longer an option

Expected behavior

The first page after submitting a search should not display a 4th page if there are no results on the fourth page. The 3rd page is properly not showing the 4th page as an option

Screenshots

first page after submitting search: https://screenshot.googleplex.com/u4jhxiqraos
no results page after clicking page '4': https://screenshot.googleplex.com/2ezpYD5HsVN
third page does not display a 4th page option: https://screenshot.googleplex.com/8TZrH6Geuyd

Additional Context

The second page in the search results also displays a 4th page option.
Same thing happens when searching for 'drugs' vs 'drug'

[BUG] Y axis scaling and labeling needs improvement

Describe the bug

Looking at the education attainment chart we can see a couple of bugs.
1- the y axis is all zero
2- assuming it has non zero values the relation between the lines are a bit odd, the doctorate line is the highest one (meaning that the number of people with doctorate education is higher than those with tertiary/bachelor education)

To Reproduce

URL: https://staging.datacommons.org/browser/country/FRA
Browser: Chrome

Steps to reproduce the behavior:

  1. Go to https://staging.datacommons.org/browser/country/FRA
  2. Scroll down to 'count of Person by age,educationalAttainment'
  3. Looking at the chart its Y axis is all zero

Screenshots

https://screenshot.googleplex.com/Kq9mECjNwSm

Additional context

The education categories are also a big concern, the doctorate line is higher than bachelor/master/or tertiary education.

[BUG] Don't redraw entire statvar panel on selection change

Describe the bug

The state of the statvar panel is completely refreshed whenever an option is unselected. It's very jarring when there are multiple menus open.

To Reproduce

URL: http://localhost:8080/tools/timeline#&place=geoId/0606000,geoId/2511000,geoId/2603000,geoId/1777005,geoId/1225175,geoId/4815976&statsVar=Count_Person_EducationalAttainmentKindergarten,2,0,2

Steps to reproduce the behavior:

  1. Expand many options in the stat var menu
  2. Choose an option
  3. Unselect any option

Expected behavior

Options that have been expanded, should stay expanded.

Screenshots

https://screencast.googleplex.com/cast/NTYwOTcwNzY0NzUzMzA1NnwzYzhlOGJlZS02Ng

Timeline tool: per chart option toggle

Each chart corresponding to one or multiple stats vars with same measured value. But there could be other stats observation properties to choose: observationPeriod, unit, scaling factor, measurementMethod. We should give user the option to toggle among these.

It's also nice to have perCapita, logScale as a toggle on per chart basis.

@beets what would be a good UI for this? A naive solution is to have a dropdown menu by the chart.

Example issue

Issue description:

What was expected:

How to reproduce:

  • URL
  • browser

Screenshot of the problem, if relevant:
[ copy/pasting screenshots from the clipboard into this form works! ]

[BUG] Wrong link in README

Currently in the README:
This file is stored in GCS bucket: datcom-browser-prod.appspot.com (for prod) and datcom-browser-prod.appspot.com (for local and staging). For updating this file, please contact Data Commons team.

datcom-browser-prod.appspot.com is duplicated

Update FAQ

We need to add the following:

  1. How is this different from dataset search
  2. How is this different from dataset collections such as ...
  3. How is this different from wikidata

[BUG] missing categories (possibly missing scroll)

Describe the bug

Some categories of employment are not appearing in the economicSector.

To Reproduce

URL: https://staging.datacommons.org/browser/dc%2Fp%2Fgj297slbzr9j
Browser: Chrome

Steps to reproduce the behavior:

  1. Go to 'https://staging.datacommons.org/browser/dc%2Fp%2Fgj297slbzr9j'
  2. Scroll down to see 'count of Person,employment=Employed by economicSector'
  3. There are about 15 NACE categories but only 7 of them are appearing

Expected behavior

This is a screenshot from life expectancy which works fine. The user can scroll down and see all the categories.
image
url: https://staging.datacommons.org/browser/nuts/AT11

Screenshots

no scroll appears here
image

Ranking pages

We need pages for Top / bottom N cities/counties by each of the ranking criterion

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.