=== PressViz ===
Contributors:      naveenkharwar
Tags:              charts, tables, data visualization, gutenberg, block
Requires at least: 6.8
Tested up to:      6.9
Stable tag:        0.1.2
Requires PHP:      7.4
License:           GPL-2.0-or-later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html

No-code charts and tables for WordPress, built for simplicity and flexibility.

== Description ==

PressViz lets you create, customize, and publish charts directly in the WordPress block editor — without code, external dashboards, or complex setup.

**Features in this release:**

* Bar, line, pie, and doughnut charts
* Inline data entry in the block editor
* CSV upload in the starter flow
* Sidebar editing: chart type, title, subtitle, colors, legend, animation, x-axis labels
* Responsive front-end rendering
* Accessible output with screen-reader data table fallback
* Plugin settings page with default chart type and color options

**What PressViz is not:**

PressViz is not a technical data tool. It is designed for content creators, bloggers, marketers, and site owners who want to publish data-driven content without learning a complicated system.

== Installation ==

1. Upload the `pressviz` folder to `/wp-content/plugins/`, or install through the WordPress Plugins screen.
2. Activate the plugin through the Plugins screen.
3. In any post or page, add the **PressViz** block from the block inserter.
4. Choose a source, enter your data, configure the chart, and click **Generate**.

== Frequently Asked Questions ==

= What chart types are supported? =

This release supports bar, line, pie, and doughnut charts. More chart types will be added in future releases.

= Does PressViz work with the block editor (Gutenberg)? =

Yes. PressViz is built specifically for the WordPress block editor. Creation, editing, and preview all happen inside the editor.

= Will my charts break if I deactivate PressViz? =

If you deactivate the plugin, charts will not render on the front end. Your chart data is preserved in the database and will return when you reactivate. PressViz never deletes your data on deactivation.

= Does PressViz work on WordPress Multisite? =

Yes, with per-site activation. Activate PressViz on each site where you want to use charts — do not network-activate it. Each site maintains its own chart data and settings independently.

= Does PressViz add anything to my database? =

Yes. PressViz creates one custom table — \`{prefix}pressviz_charts\` — to store your chart data. It is created automatically on activation and is never modified by WordPress core or other plugins. On deactivation the table is left intact. It is only removed if you check "Remove Data on Delete" in Settings before deleting the plugin.

= Is there a pro version? =

A professional version with connected data sources (Google Sheets, API connectors), scheduled refresh, reusable datasets, front-end editing, and advanced permissions is in development.

== Changelog ==

= 0.1.2 =
* Include unminified source code (`src/`) in the plugin package to comply with WordPress.org guideline #4
* Document build process in readme

= 0.1.1 =
* Fix Contributors field in readme

= 0.1.0 =
* Initial release — bar, line, pie, and doughnut charts with manual data entry

== Source Code ==

This plugin uses a JavaScript build process (webpack via @wordpress/scripts).
The compiled files in the `build/` directory are generated from unminified
source code included in the `src/` directory of this plugin.

To build from source:

1. Install Node.js (v22+)
2. Run: npm install
3. Run: npm run build

Build tool: webpack via @wordpress/scripts

== Third-Party Libraries ==

* ECharts 6.x — https://echarts.apache.org — Apache License 2.0
  Used for front-end chart rendering. Bundled locally; no external requests are made.
  Unminified source: https://github.com/apache/echarts
