{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "gutengrow/dynamic-chart",
  "version": "1.0.0",
  "title": "Dynamic Chart",
  "category": "gutengrow-blocks",
  "icon": "chart-bar",
  "description": "Create interactive charts with customizable data.",
  "keywords": [
    "chart",
    "graph",
    "data",
    "visualization"
  ],
  "textdomain": "gutengrow-blocks",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css",
  "viewScript": "file:./view.js",
  "attributes": {
    "chartName": {
      "type": "string",
      "default": "Sales Chart"
    },
    "chartData": {
      "type": "array",
      "default": [
        {
          "label": "January",
          "value": 65
        },
        {
          "label": "February",
          "value": 59
        },
        {
          "label": "March",
          "value": 80
        },
        {
          "label": "April",
          "value": 81
        }
      ]
    }
  },
  "supports": {
    "html": false,
    "align": [
      "wide",
      "full"
    ],
    "spacing": {
      "margin": true,
      "padding": true
    }
  }
}