agentleFS
GeoDaoyuGeoDaoyu/arcgis-maps-sdk-js-ai-context/skills/arcgis-charts/AGENTS.md

arcgis-maps-sdk-js-ai-context / arcgis-charts

AGENTS.md0 starsChanged 7 months agoMITView on GitHub

Quick-reference for choosing chart types and configuring chart components.

The file

Files
AGENTS.md

Agent Guide: arcgis-charts

Quick-reference for choosing chart types and configuring chart components.

Chart Type Selection Guide

Data PatternRecommended ChartWhy
Categories vs valuesBar ChartCompare discrete categories
Trend over timeLine ChartShow continuous change
Part of wholePie ChartShow proportions (< 7 categories)
Value distributionHistogramShow frequency of value ranges
Two numeric variablesScatter PlotShow correlation or clusters
Statistical summaryBox PlotShow median, quartiles, outliers
Single KPI valueGaugeShow progress toward a target
Multi-axis comparisonRadar ChartCompare multiple variables
Matrix / densityHeat ChartShow density in two dimensions
Bars + trend lineCombo Bar-LineCombine categorical and trend data

Setup Checklist

  • Load charts-components package (CDN script or ESM import)
  • Create <arcgis-chart> element
  • Set layer property to a FeatureLayer or FeatureLayerView
  • Set view property if using extent filtering or selection sync
  • Create and assign a chart model (e.g., new BarChartModel())
  • Set model.layer to the same layer
  • Assign model to chartElement.model
  • Optionally add <arcgis-charts-action-bar> and connect via chartElement

Interaction Modes

ModeAttribute ValueBehavior
Multi-select + Ctrl"multiSelectionWithCtrlKey"Click selects one, Ctrl+click adds (default)
Multi-select"multiSelection"Every click adds to selection
Zoom"zoom"Drag to zoom into chart area
Pan"pan"Drag to pan the chart

Chart-Map Integration Options

FeaturePropertyDescription
Sync selectionsyncSelection = trueSelected chart elements highlight on map
Filter by extentfilterByExtent = trueChart shows only features in current view
Filter by selectionfilterBySelection = trueChart shows only selected features

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.