πŸ–ΌοΈ Chart Gallery

Explore the stunning visualizations you can create with ChartSmith MCP.

🎯 Basic Charts

πŸ“Š Bar Charts

Perfect for comparing categories and showing rankings.

Use Cases:

Tool Input Example (generate_bar_chart):

{
  "data": {
    "rows": [
      {"region": "North", "sales": 125000},
      {"region": "South", "sales": 98000},
      {"region": "East",  "sales": 156000},
      {"region": "West",  "sales": 87000}
    ]
  },
  "x": "region",
  "y": "sales",
  "format": "html"
}

Features:


πŸ“ˆ Line Charts

Ideal for showing trends and changes over time.

Use Cases:

Tool Input Example (generate_line_chart):

{
  "data": {
    "rows": [
      {"month": "Jan", "users": 1200},
      {"month": "Feb", "users": 1350},
      {"month": "Mar", "users": 1420},
      {"month": "Apr", "users": 1580},
      {"month": "May", "users": 1750},
      {"month": "Jun", "users": 1890},
      {"month": "Jul", "users": 2100},
      {"month": "Aug", "users": 2280},
      {"month": "Sep", "users": 2450},
      {"month": "Oct", "users": 2600},
      {"month": "Nov", "users": 2780},
      {"month": "Dec", "users": 3000}
    ]
  },
  "x": "month",
  "y": "users"
}

Features:


πŸ₯§ Pie Charts

Show proportions and parts of a whole.

Use Cases:

Tool Input Example (generate_pie_chart):

{
  "data": {
    "rows": [
      {"channel": "Digital Ads",    "pct": 45},
      {"channel": "Content",        "pct": 25},
      {"channel": "Events",         "pct": 15},
      {"channel": "SEO/Analytics",  "pct": 10},
      {"channel": "Other",          "pct": 5}
    ]
  },
  "names": "channel",
  "values": "pct"
}

Features:


πŸ”— Scatter Plots

Reveal correlations and relationships between variables.

Use Cases:

Tool Input Example (generate_scatter_chart):

{
  "data": {
    "rows": [
      {"ad_spend": 5000, "sales": 125000},
      {"ad_spend": 7500, "sales": 142000},
      {"ad_spend": 6200, "sales": 135000},
      {"ad_spend": 8900, "sales": 165000},
      {"ad_spend": 4100, "sales": 118000}
    ]
  },
  "x": "ad_spend",
  "y": "sales"
}

Features:


🎨 Advanced Visualizations

πŸ”₯ Heatmaps

Perfect for matrix data and correlation analysis.

Use Cases:

Tool Input Example (generate_heatmap_chart):

{
  "data": {
    "rows": [
      {"x": "Product A", "y": "Support",    "value": 4.5},
      {"x": "Product A", "y": "Onboarding", "value": 4.2},
      {"x": "Product B", "y": "Support",    "value": 3.8}
    ]
  },
  "x": "x",
  "y": "y",
  "value": "value"
}

Features:


🌳 Treemaps

Visualize hierarchical data with nested rectangles.

Use Cases:

Tool Input Example (generate_treemap_chart):

{
  "data": {
    "rows": [
      {"unit": "Enterprise", "category": "Security",     "value": 120},
      {"unit": "Enterprise", "category": "Analytics",    "value": 80},
      {"unit": "SMB",        "category": "Productivity", "value": 60}
    ]
  },
  "path": ["unit", "category"],
  "value": "value"
}

Features:


🌊 Sankey Diagrams

Show flow and movement between stages.

Use Cases:

Tool Input Example (generate_sankey_chart):

{
  "data": {
    "rows": [
      {"source": "Visitors",  "target": "Leads",      "value": 27680},
      {"source": "Leads",     "target": "QL",         "value": 5520},
      {"source": "QL",        "target": "Opps",       "value": 2760},
      {"source": "Opps",      "target": "Purchases",  "value": 1380}
    ]
  },
  "source": "source",
  "target": "target",
  "value": "value"
}

Features:


πŸ“Š Statistical Charts

οΏ½οΏ½ Box Plots

Display distribution statistics and identify outliers.

Use Cases:

Tool Input Example (generate_box_chart):

{
  "data": {
    "rows": [
      {"region": "us-east", "response_ms": 120},
      {"region": "us-east", "response_ms": 132},
      {"region": "eu-west", "response_ms": 150},
      {"region": "eu-west", "response_ms": 141}
    ]
  },
  "x": "region",
  "y": "response_ms"
}

Features:


πŸ“Š Histograms

Show frequency distributions and data patterns.

Use Cases:

Tool Input Example (generate_histogram_chart pre-binned):

{
  "data": {
    "rows": [
      {"bin_start": 0,   "bin_end": 50,  "bin_center": 25,  "count": 12, "frequency": 0.24, "percentage": 24},
      {"bin_start": 50,  "bin_end": 100, "bin_center": 75,  "count": 22, "frequency": 0.44, "percentage": 44},
      {"bin_start": 100, "bin_end": 150, "bin_center": 125, "count": 16, "frequency": 0.32, "percentage": 32}
    ]
  },
  "x": "bin_center"
}

Features:


🎯 Interactive Features

πŸ“Š Dashboards

Combine multiple charts for comprehensive analysis.

Tool Input Example (create_dashboard):

{
  "charts": [
    {"chart_type": "line", "data": {"rows": [{"month":"Jan","revenue":50000},{"month":"Feb","revenue":55000},{"month":"Mar","revenue":62000}]}},
    {"chart_type": "bar",  "data": {"rows": [{"product":"A","sales":150000},{"product":"B","sales":120000},{"product":"C","sales":98000}]}},
    {"chart_type": "heatmap", "data": {"rows": [{"x":"North","y":"Q1","value":120},{"x":"North","y":"Q2","value":135},{"x":"South","y":"Q1","value":98}]}},
    {"chart_type": "pie", "data": {"rows": [{"segment":"Organic","pct":45},{"segment":"Social","pct":25},{"segment":"Direct","pct":20},{"segment":"Paid","pct":8},{"segment":"Email","pct":2}]}, "names": "segment", "values": "pct"}
  ],
  "layout": "grid"
}

Features:


🎨 Styling Options

🌟 Themes

🎯 Customization


πŸ’‘ Getting Started

Ready to create these amazing visualizations?

  1. Install ChartSmith MCP
  2. Try Your First Chart
  3. Explore Code Examples

Pro Tip: Start with simple examples and gradually explore more advanced features. ChartSmith’s AI will guide you to the best visualization for your data! πŸš€