Display graph(s) in PHP and Javascript (D3js) -> Generated from Python and MySQL

This project is to generate charts and graphs from a book. The charts and graphs will need to be displayed in PHP and through Javascript libraries (the [url removed, login to view] framework).

User input must direct which book (of two provided, initially) and language pairs (virtue/vice or positive/negative) to analyze and graph.

Because PHP has limited and slow parsing capabilities, the parsing and data generation will need to be done in Python. A MySQL database provides content for comparison.

This demonstration project is to generate: a graph of the number of virtue and vice words per 1% of the words in the book.

A1. Each graph must include labels, the series titles and labeling, and a chapter break designator. The total number of words in the book, in addition to the number of words per 1%, must be displayed at top.

Chapters in the book are designated by a === Chapter X === format (see raw text).

The 1% calculation must be performed dynamically -- as this method will be applied to other text files (books) and for other kinds of calculations.

A2. There will be two stacked bar graphs, selected at top with dropdown:

\---| Raw count (e.g., the number of virtue and vice words per 1% of the book)

\---| Percentage count (e.g., the percentage of virtue and vice words per 1% count).


(1) A php file to take user input about book and property selection from the user.

(2) A python library that receives dynamic input from PHP (book selector) to determine which book and language properties (virtue/vice, positive/negative) to query and display. The python library must perform text operations on the book (text file) and query/compare against the enclosed MySQL table.

(3) A charting page, in PHP and using the D3js library, to display the results generated through Python parsing.

## Deliverables





Skills: Javascript, MySQL, PHP, Python, Software Architecture, Software Testing, Web Hosting, Website Management, Website Testing

See more: d3js php, python d3js, d3js comparison charts, display data d3js php, php d3js, d3js mysql, using d3js php, d3js data database, database display graph php, python php graph, d3js book, javascript mysql graph, top graph, sample graph data, parsing input, mysql org, in php, in a graph, graph using c, graph top, graph to data, graph this data, graphs in c language, graphs in c, graphs and data

About the Employer:
( 35 reviews ) United States

Project ID: #2675578