Comments (2)
By reading the error message in console. It seems related to the change of Google Map's API policy
https://cloud.google.com/maps-platform/user-guide/account-changes/#no-plan
You must have a valid API key and a billing account to access our APIs. When you enable billing, you will get $200 free usage every month for Maps, Routes, or Places. Based on the millions of users using our APIs today, most of them can continue to use Google Maps Platform for free with this credit. Having a billing account helps us understand our developers’ needs better and allows you to scale seamlessly.
To avoid a service interruption to your projects, please visit our Get Started page to create a project, generate an API key, and enable a billing account. Once you generate and obtain an API key, make sure to update your application with the new API key.
from xplot.
I gave it a shot today by creating a dummy project on Google. It requires billing information but first $200 every month is still free.
After you sign up, Google provides an API key. Pipe your map to |> Chart.WithApiKey "key"
and it works fine afterwards.
let data =
[
"China", "China: 1,363,800,000"
"India", "India: 1,242,620,000"
"US", "US: 317,842,000"
"Indonesia", "Indonesia: 247,424,598"
"Brazil", "Brazil: 201,032,714"
"Pakistan", "Pakistan: 186,134,000"
"Nigeria", "Nigeria: 173,615,000"
"Bangladesh", "Bangladesh: 152,518,015"
"Russia", "Russia: 146,019,512"
"Japan", "Japan: 127,120,000"
]
let options = Options(showTip = true)
data
|> Chart.Map
|> Chart.WithOptions options
|> Chart.WithHeight 420
|> Chart.WithApiKey "key"
|> Chart.Show
from xplot.
Related Issues (20)
- Support for Radar Charts
- Static randomly-generated data for randomness tests
- [Feature Request] : Accessors for JSON serialized names and traces in PlotlyChart
- XPlot.Plotly some configuration options are missing
- documentation for palettes for heatmaps HOT 3
- Visualizing 3d meshes in jupyter notebook HOT 1
- XPlot in a C# .NET Console App (not a jupyter notebook) HOT 3
- Adding support for .NET Interactive extensions
- API for incremental updates HOT 1
- HTML output of notebook does not display Plotly chart
- Cannot get xplot render in VS Code HOT 1
- Unable to use a collection for hover data in XPlot.Plotly.Scattergl HOT 1
- Unable to set 'rangeslider': { 'visible': false } for XPlot.Plotly.Candlestick HOT 2
- xplot.plotly.interactive failed with the latest VS Code HOT 8
- Please don't update to FSharp.Core 6.0 when not needed :) HOT 1
- 4.0.3, 4.0.4 don't load into latest .NET Interactive HOT 9
- How to name z-axis in a C# application
- Use Plotly.NET!
- Missing Method Issue with 4.0.6 HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xplot.