Expected duration: less than 1 week Create a WordPress plugin that enables the display of Google Charts featuring stock price data on specific web pages.
The plugin must utilize shortcodes to embed charts on pages. Users can place the shortcode wherever a chart is needed.
The plugin should support the following chart types: a. Interactive Line Chart (Form-Driven) This chart gets the stock name dynamically from a form on the page. The chart must update in real-time whenever the form input changes.
b. Static Line Chart (Shortcode-Driven) This chart receives the stock name as a parameter in the shortcode and uses it to fetch data.
c. Static Bar Chart (Shortcode-Driven) Similar to the static line chart, but displayed as a bar chart.
Shortcode Examples: [chart type="line" stock=""] – Stock name is dynamically fetched from the form input. [chart type="line" stock="aapl"] – Displays a static line chart for the specified stock (aapl). [chart type="bar" stock="aapl"] – Displays a static bar chart for the specified stock (aapl).
The plugin must allow multiple charts to be embedded on the same page without conflicts.
All data processing must occur on the PHP side to keep implementation details hidden from users. In this phase, the stock data can be hardcoded in the PHP code. Future phases may involve retrieving data via an API (not included in this scope).
Charts must be fully responsive to adapt to different screen sizes.