Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Choropleth chart not getting displayed #9433

Open
diptenduLF opened this issue Sep 12, 2024 · 0 comments
Open

Choropleth chart not getting displayed #9433

diptenduLF opened this issue Sep 12, 2024 · 0 comments
Labels

Comments

@diptenduLF
Copy link

Bug Description

The JSON given below is not showing any error but [Warning] Infinite extent for field "Rainfall": [Infinity, -Infinity]

{
   "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
  "width": 500,
  "height": 300,
  "data": {
    "url": "https://raw.githubusercontent.com/learnityframework/learnityframework/master/westbengal.json",
    "format": {"type": "topojson", "feature": "west-bengal"}
  },
  "transform": [
    {
      "lookup": "dt_code",
      "from": {
        "data": {
          "url": "https://raw.githubusercontent.com/learnityframework/learnityframework/master/District_wise_cumulative_rainfall_2015-2022.csv"
        },
        "key": "dt_code",
        "fields": ["Rainfall"]
      }
    }
  ],
  "projection": {"type": "mercator"},
  "mark": "geoshape",
  "encoding": {"color": {"field": "Rainfall", "type": "quantitative"}},
  "config": {}
}

The Data Viewer is not showing any data for source 0 (The table is empty.) but source 1 data is being displayed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant