Skip to content

Latest commit

 

History

History
107 lines (99 loc) · 1.86 KB

File metadata and controls

107 lines (99 loc) · 1.86 KB
title Sample Chart Data
description Sample data collection for testing Column, Line, and Pie charts.
category ui-controls
subcategory chart
tags
chart
data
sample
visualization
difficulty beginner
products
power-apps-canvas
dependencies
author Darren Neese
created 2025-11-19
updated 2025-11-19
license MIT
related

Sample Chart Data

Table of Contents

This is the code for the sample data found in

  • ColumnChartSample
  • LineChartSample
  • PieChartSample

Add This to Your App.Formulas

//
// Sample data found in
//      - ColumnChartSample
//      - LineChartSample
//      - PieChartSample
//
fxSampleChartData = [
    {
        Area: 31,
        City: "Cairo",
        Density: 39,
        Population: 12
    },
    {
        Area: 15,
        City: "Delhi",
        Density: 78,
        Population: 18
    },
    {
        Area: 11,
        City: "Mexico City",
        Density: 60,
        Population: 8
    },
    {
        Area: 22,
        City: "Istanbul",
        Density: 65,
        Population: 14
    },
    {
        Area: 16,
        City: "London",
        Density: 54,
        Population: 8
    },
    {
        Area: 25,
        City: "Moscow",
        Density: 48,
        Population: 12
    },
    {
        Area: 8,
        City: "New York City",
        Density: 107,
        Population: 8
    },
    {
        Area: 6,
        City: "Seoul",
        Density: 172,
        Population: 10
    },
    {
        Area: 6,
        City: "Shanghai",
        Density: 38,
        Population: 24
    },
    {
        Area: 6,
        City: "Tokyo",
        Density: 146,
        Population: 9
    }
];

History

Date Author Changes
2026-01-27 Migration Initial TOC and history section added