IBM Accelerator Catalog
IBM Accelerator Catalog

UK Parliament Brexit vote visualized by seat

This sample schematic visualization is a schematic package containing a UK Parliament House of commons SVG file. The seat keys are mapped to constituencies (the order of generation maps to the Brexit leave versus remain voting).

Slide Two

About this accelerator

The file parliamentSchematic.zip is a schematic package containing a UK Parliament House of commons SVG file. The seat keys are mapped to constituencies (the order of generation maps to the Brexit leave versus remain voting).

For more information, see UK parliament schematic sample.


Download and Use

  1. Click the blue Download button above to obtain the visualization bundle. Save the ZIP file to your local computer. Do not unzip this file. Log in to IBM Cognos Analytics and upload the file.
  2. Download the sample data file. On the IBM Cognos Analytics Welcome page, click New and select Upload files in the left navigation bar to browse and select the data file
  3. Create a new dashboard using the sample data
  4. Open the Visualizations panel, select the Custom tab, and drag ParliamentSchematic from the Custom visuals section onto the canvas
  5. To populate the visualization with data, drag Constituency from the Sources panel onto the Locations slot on the Regions section
  6. Drag CH leave estimate onto the Location color slot
  7. Open the Points section
  8. Drag Constituency from the Sources panel onto the Locations slot
  9. Drag CH leave estimate onto the Point size slot
  10. Drag Leave_bool onto the Point color slot


Download Source Code

To view the source code for the UK Parliament Brexit Vote sample custom schematic, go to this public GitHub repository. To download the files, navigate to the root of this directory and click the green Code button.

Note: This feature is intended for an advanced custom visualization developer. It is a code sample with specific requirements that provides an opportunity for developers to extend their visualizations. If you are not a visualization developer, IBM Cognos Analytics comes with a full set of powerful visualizations that are ready to use.


More information

Additional details

  • Accelerator typeSchematic
  • IndustryGovernment
  • Business functionAny
  • Product and version Cognos Analytics - 11.1.5 to Current
  • Author typeIBM
  • Company nameIBM
  • Author name IBM
  • Last modifiedMay 1st, 2020
  • Language English