-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* troubleshooting API * Revert to gerund Though the style guide says to just use imperatives, "get started" just sounds weird. Also this is more consistent with "troubleshooting" * merge * make external links open in a new browser window * Merging * add disclaimer about BQ and remove references from elsewhere * revert changes
- Loading branch information
Showing
23 changed files
with
57 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ visualizations in your web application. | |
|
||
Include `datacommons.js` in your html's | ||
`<head>...</head>` tag. Then use Data Commons | ||
[web component](https://developer.mozilla.org/en-US/docs/Web/API/Web_components) | ||
[web component](https://developer.mozilla.org/en-US/docs/Web/API/Web_components){: target="_blank"} | ||
tags (e.g. `datacommons-line`) to add embedded data visualizations. | ||
|
||
For example, to embed a line chart: | ||
|
@@ -53,7 +53,7 @@ For example, to embed a line chart: | |
``` | ||
|
||
See a live version of this example you can play around with in | ||
[Playground](https://lit.dev/playground/#gist=c0c88276739f4f6061807cc943937a14) | ||
[Playground](https://lit.dev/playground/#gist=c0c88276739f4f6061807cc943937a14){: target="_blank"} | ||
([source](/assets/examples/web-components/line-chart.html)). | ||
|
||
## Components | ||
|
@@ -70,9 +70,9 @@ See a live version of this example you can play around with in | |
|
||
## Code Playground Examples | ||
|
||
- [Static page with all chart types playground](https://lit.dev/playground/#gist=822ce6018bb41113c866d703760c1def) | ||
- [Static page with all chart types playground](https://lit.dev/playground/#gist=822ce6018bb41113c866d703760c1def){: target="_blank"} | ||
([source](/assets/examples/web-components/all-charts.html)) | ||
- [Dynamically updating charts playground](https://lit.dev/playground/#gist=9e3ac88e162248f849dd276ff5895ad0) | ||
- [Dynamically updating charts playground](https://lit.dev/playground/#gist=9e3ac88e162248f849dd276ff5895ad0){: target="_blank"} | ||
([source](/assets/examples/web-components/dynamic-map.html)) | ||
|
||
## Variables and places | ||
|
@@ -84,12 +84,10 @@ places. Variables and places are identified by | |
|
||
To look up a DCID for an entity or variable, see the different methods described in [this page](/data_model.html#find-dcid). | ||
|
||
To find places available for a statistical variable, see [this page](/data_mode.html#find-places). | ||
|
||
## Styling | ||
|
||
Custom styles are supported through | ||
[CSS shadow parts](https://developer.mozilla.org/en-US/docs/Web/CSS/::part). | ||
[CSS shadow parts](https://developer.mozilla.org/en-US/docs/Web/CSS/::part){: target="_blank"}. | ||
|
||
<div markdown="span" class="alert alert-danger" role="alert"> | ||
<span class="material-icons exclamation-icon">priority_high</span> | ||
|
@@ -126,7 +124,7 @@ Additionally, the following css variables are supported: | |
### Styling Example | ||
|
||
See a live version of this example you can play around with in | ||
[Playground](https://lit.dev/playground/#gist=719f5d71c2823ac3e58f504cb6ceccd3) | ||
[Playground](https://lit.dev/playground/#gist=719f5d71c2823ac3e58f504cb6ceccd3){: target="_blank"} | ||
([source](/assets/examples/web-components/map-styles.html)). | ||
|
||
```html | ||
|
@@ -180,10 +178,10 @@ See a live version of this example you can play around with in | |
|
||
## License | ||
|
||
[Apache 2.0](https://github.com/datacommonsorg/website/blob/master/packages/web-components/LICENSE) | ||
[Apache 2.0](https://github.com/datacommonsorg/website/blob/master/packages/web-components/LICENSE){: target="_blank"} | ||
|
||
## Support | ||
|
||
For general questions or issues, please open an issue on our | ||
[issues](https://github.com/datacommonsorg/website/issues) page. For all other | ||
[issues](https://github.com/datacommonsorg/website/issues){: target="_blank"} page. For all other | ||
questions, please send an email to `[email protected]`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.