Android Pie Chart Code Generator

Quickly and easily generate an Android Studio project with a pie chart built in a WebView and local HTML file.

Try it for FREE

The generated zip file includes:

  • Source code - Java classes and XML layouts for:
    • Custom Activity and Fragment with WebView
    • Java-JavaScript bridge interface
    • Extended WebChromeClient with custom alert dialog
  • Assets files - Local HTML file with D3.js JavaScript and SVG
  • Material design - Customized primary and accent colors
  • Support files - Android manifest, launcher icon and gradle files

Sign In and download your zip file today!

Screenshots on Smartphone

Here is a screenshot of the generated app on a Samsung Galaxy S6.

The wedge values (with leading dollar signs), colors and labels are built into the Java code and submitted to the WebView and local HTML file for building a pie chart with D3.js.

You can change these values at run time by adding your own logic to get the values from a dynamic source, such as a database or RESTful API.

This screenshot shows the same data as percents of the total, with trailing percent symbols on the numbers.

Notice how the data values don't always fit nicely on the pie wedges, which is a common problem with pie chart designs, as described in D3.js Android Pie Chart Example

Project Information

Project Name:
Package Name:

App and Activity Information

Application Name:
Main Activity Name:
Main Activity Title:

Pie Chart Information

Chart Title:
Value Display Prefix:
Example: $
Value Display Suffix:
Example: %

Material Design Colors

Material Primary Color:
Material Accent Color:

Data & Wedge Information

Alphanumeric Label
Numeric Value
Wedge Color


– Removed the copyright and license references from the comment headers of generated Java classes
– Replaced the GNU General Public License with a new End User License Agreement
– Initial release plus enhancements through December 2016


As of Version 2.0 of all mobile application templates, the GNU General Public License has been retired in favor of an End User License Agreement (EULA) that more accurately reflects the nature of proprietary software that is available by subscription.

In summary, the EULA grants Licensees ownership of and permission to use and sell all End Products generated from the downloaded Software, but you are restricted from re-distributing or reselling the Software itself, except as packaged in the End Products as needed to make them functional.

Please read the EULA in full. A copy is included in each generated Android Studio project, and referenced in the comment header of each Java source file. The retired GNU General Public License is archived here for your reference.

Please send any questions to


Information about your mobile app submitted to this web site is not permanently stored, logged on our servers, used for internal or external analytics, or shared with any other external system or third party. For more information see this websites's Privacy Policy

Copyright ©