datacommonsorg / website Goto Github PK
View Code? Open in Web Editor NEWCode for the Data Commons website
Home Page: https://datacommons.org
License: Apache License 2.0
Code for the Data Commons website
Home Page: https://datacommons.org
License: Apache License 2.0
On https://datacommons.org/place?dcid=geoId/0668000&topic=Demographics
the word Population (under Demographics) should be changed to Gender
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.
FAQ is missing refs to some APIs, and is using OKG/Open Knowledge Graph terminology.
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"
URL: https://browser.datacommons.org/kg?dcid=country/USA
All under "State" or "AdminArea1", etc.
If applicable, add screenshots to help explain the issue or suggestion.
The cache is available here: curl -X POST 'datacommons.endpoints.datcom-mixer-staging.cloud.goog/node/landing-page' -d '{ "dcids": ["geoId/12"]}'
API details: https://github.com/datacommonsorg/mixer/blob/master/proto/mixer.proto#L413-L418
For the primary page, can call this API without stats var. For charts of similar/related place, can add the selected stats vars in the request to limit the data size.
This link from the homepage is broken:
http://docs.datacommons.org/api/examples.html
On a place page, takes too long to switch place pages through search
URL: https://staging.datacommons.org/place?dcid=europe
Steps to reproduce the behavior:
Something should change on the screen right after a click. Maybe we can show a spinner...
In the new Graph Browser UI, clicking on a link to StatPop page (e.g., https://screenshot.googleplex.com/X78HiKNGq2D) takes you to a bogus link (like https://staging.datacommons.org/browser/geoId/06?dcid=dc%2Fp%2Ft0j8e4e697dn).
It will be nice to have axis labels when appropriate, e.g. when there are units involved. This is probably more important when there are multiple groups of charts.
Timeline page is blank after clicking on the "university towns: income" link from the main page
URL: https://staging.datacommons.org/tools/timeline#&place=geoId/0606000,geoId/2511000,geoId/2603000,geoId/1777005,geoId/1225175,geoId/4815976&statsVar=Median_Income_Person
Browser: Chrome
Change the text in the image on the front page from "aggregated knowledge graph" to "data commons graph"
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.
URL: https://datacommons.org/search?q=drug
Browser: Chrome
Steps to reproduce the 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
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
The second page in the search results also displays a 4th page option.
Same thing happens when searching for 'drugs' vs 'drug'
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)
URL: https://staging.datacommons.org/browser/country/FRA
Browser: Chrome
Steps to reproduce the behavior:
https://screenshot.googleplex.com/Kq9mECjNwSm
The education categories are also a big concern, the doctorate line is higher than bachelor/master/or tertiary education.
For something like https://datacommons.org/place?dcid=geoId/0668000 need to be clear what we mean by '4 or 16' in crime (i.e., most crime or least crime)
Two vars that work for some geos on their own do not work together.
If applicable, add screenshots to help explain your problem.
Just barely not enough s.t. we weed to click for the x axis.
URL: https://browser.datacommons.org/browser/dc/p/zyl5s3qrrmeq3
If applicable, add screenshots to help explain your problem.
The state of the statvar panel is completely refreshed whenever an option is unselected. It's very jarring when there are multiple menus open.
Steps to reproduce the behavior:
Options that have been expanded, should stay expanded.
https://screencast.googleplex.com/cast/NTYwOTcwNzY0NzUzMzA1NnwzYzhlOGJlZS02Ng
Since we won't have data...
https://staging.datacommons.org/place?dcid=europe
We should not link to a continent in child-places (we can still display it tho)
staging.datacommons.org/factcheck/download is returning a server error
The x-axis (time) shows month for the yearly gathered data.
URL: https://staging.datacommons.org/browser/dc/p/k3l8ehfghw8d
Browser: Chrome
Steps to reproduce the behavior:
It should only shows the years like the chart above: Observation of mothersAge (median)
On staging, we lost the feature that clicking on the dot of a chart will take us to that observation's page. Similar to #115
In the new Graph Browser UI, clicking on the dot of a chart takes you to a bogus link (like https://staging.datacommons.org/browser/dc/p/wbk5rjtf8n5eh?dcid=dc%2Fo%2Fv9hpxp38swy6b).
If applicable, add screenshots to help explain your problem.
We have a 2 constraint StatPop with gdp + naics: https://staging.datacommons.org/browser/dc/p/x3xfzy0gk4y34 (https://screenshot.googleplex.com/gqrthTqLtMG)
I would have expected it show up under the "Sub-populations" section in: https://staging.datacommons.org/browser/dc/p/xm0tl88x5qr58 (https://screenshot.googleplex.com/2xBz2M9fBtW)
Any reason why it doesn't?
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.
Many bugs, but only for one chart:
URL: https://staging.datacommons.org/browser/nuts/AT11
If applicable, add screenshots to help explain your problem.
Suppress all * across places charts for non-US places for now.
Issue description:
What was expected:
How to reproduce:
Screenshot of the problem, if relevant:
[ copy/pasting screenshots from the clipboard into this form works! ]
E.g. if I wanted to share https://staging.datacommons.org/tools/scatter#&&ptpv=Person,income,age,Years15Onwards,incomeStatus,WithIncome
opening the link would not take me to the plot used to construct that URL.
The examples page doesn't exist.
URL: https://docs.datacommons.org/examples.html
Browser: Chrome (Browser Independent)
Steps to reproduce the behavior:
The example page should exist or the link should be removed.
The multi-line legends for browser charts are overlapping.
Browser: https://staging.datacommons.org/browser/country/GBR
Better handle multi-line, or adjust spacing based on elements?
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
Datasets page is incomplete, but we claim it is a complete list.
URL: https://docs.datacommons.org/
If applicable, add screenshots to help explain your problem.
Page title shows unfilled jinja
URL: https://staging.datacommons.org/search?q=hematopoietic%20cell
We need to add the following:
Stats Var menu is missing one there is only one stats var for a place
URL: https://staging.datacommons.org/tools/timeline#&statsVar=Count_Person&pc=0&place=wikidataId/Q160173
The menu should show up with "Population" checkbox checked.
Some categories of employment are not appearing in the economicSector.
URL: https://staging.datacommons.org/browser/dc%2Fp%2Fgj297slbzr9j
Browser: Chrome
Steps to reproduce the behavior:
This is a screenshot from life expectancy which works fine. The user can scroll down and see all the categories.
url: https://staging.datacommons.org/browser/nuts/AT11
The chart on graph browser's place page does not render right. Apparently because there's a '&' in the constraint-value.
Navigate to the place page with covid19 mobility data. NOTE: it is currently only in the branch cache.
Screenshot: https://screenshot.googleplex.com/QrAZHHV5Bpe
When we add multiple places for a stat-var, like in https://screenshot.googleplex.com/bqr7va7LP5V, it might be helpful to highlight the lines when we hover over the place legends, to more easily tell which lines correspond to a place.
For an example, search for [population of mexico] on google and you'll see this behavior on the chart that shows up (https://screenshot.googleplex.com/ayLqk8RkmFS).
We can click on Data Commons, which takes us to general homepage, but Scatter doesn't refresh to bare scatter.
We need pages for Top / bottom N cities/counties by each of the ranking criterion
URL: https://browser.datacommons.org/browser/geoId/1851876
Clicking Total will go to pop of Person
Clicking Female will go to pop of Person_Female
etc
If applicable, add screenshots to help explain your problem.
Missing results for ENCODE related searches.
@spiekos could you add some examples here that don't work?
Populations that differ by one v used to be on 1 chart.
URL: https://staging.datacommons.org/browser/dc/p/he31kkfcbf5w2
If applicable, add screenshots to help explain your problem.
https://staging.datacommons.org/place?dcid=country/USA&topic=Households
We can drop households for now
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.