Find Jobs
Hire Freelancers

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

$100-500 USD

Cancelled
Posted over 11 years ago

$100-500 USD

Paid on delivery
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 [login to view URL] 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). Output: (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 SEE FILES ENCLOSED: (1) THREE BOOKS AS .TXT (2) LANGUAGE DB TABLE (3) SAMPLE SCREENSHOT FOR RESULTING CHART/GRAPH
Project ID: 2675578

About the project

3 proposals
Remote project
Active 11 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of UNITED STATES
United States
5.0
35
Member since Feb 9, 2006

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.