Giter Site home page Giter Site logo

powerbi-visuals-drilldown-cartogram's Introduction

Drilldown cartogram

Build Status

Displays a hierarchical map set as a circle for each location, with size/color from specified values

ChicletSlicer screenshot

Overview

With the Drilldown Choropleth and Drilldown Cartogram visuals, you can explore deep geographic data, plotting hundreds or even thousands of items (all US counties at once, all the precincts in a county, etc.) and then drilling down their data hierarchy (like from state, to county, to precinct). These controls were designed specifically to help large and small political campaigns explore and draw insights from their data – but they’re useful for other audiences, too.

To use the visuals, bring a dataset into Power BI, and put the custom visual on your page.

There are two map types as part of this set:

  • The Drilldown Choropleth displays each location on a map filled with a color based on the value for each location.
  • The Drilldown Cartogram displays a circle for each location, with the size and color based on the values you specify

Put your data’s first-level location property in the Locations field, and the property you want to chart in the Values fields.

Then on the visual’s Formatting pane, open the Shape customization and put the URL to the first level of your map in the Level 1 box, the URL to your next level in the Level 2 box, and so on. If the name of the geographic property of your map doesn’t match the name of the field in your data, you can set that property name in the ID boxes.

You can alternately set a Legend property to control the color of each area on the map; this is useful to reflect things like which candidate or party had the most votes in an area.

Note that you’ll need to put your topojson-formatted maps on a web server; the Tips page of the sample reports have guidance about how to do that.

This visual was built in conjunction with our partner Gramener.

Contributing

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

powerbi-visuals-drilldown-cartogram's People

Contributors

ignatvilesov avatar microsoftopensource avatar msftgits avatar nikhilkabbin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

powerbi-visuals-drilldown-cartogram's Issues

Invalid JSON File exception

Hi, I'm trying to use Drilldown Choropleth custom visual but i faced a problem.
First of all idea and chart really usefull If we can use it! (there is no detailed documentation and debug/exception management or real sample)

Problem :
I have 2 TopoJson file for Region and Area levels and this json files works well at the ShapeMap Chart.
But when I try to use same Json files at Drilldown Choropleth or Cartogram it doenst work and shows only "INVALID JSON FILE" exception.

I already check the demo/sample json files and there is no difference mine json files.

What is the problem and how can I fix it?

You can find the TopoJson files and sample PBIX file at below to debug and identify the problem.
https://www.dropbox.com/s/z0n24hvgoy952vn/DrilldownChrolepth_Issue.zip?dl=0

https://community.powerbi.com/t5/Issues/Drilldown-Choropleth-Invalid-JSON-File-exception/idi-p/249623

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.