Code Monkey home page Code Monkey logo

email-chart-builder's Introduction

๐Ÿ“Š Email Chart Builder

A tool for building bar charts for HTML email templates. Visit https://charts.email/

  • 100% HTML/CSS Coded Bar Charts โŒจ๏ธ
  • Compatible in Dark Mode ๐ŸŒ™
  • Mobile Responsive ๐Ÿ“ฒ
  • No Images โŒ

Project Background

The first objective of this project is to enable email marketers and developers to create clear, colorful visuals and bar charts that are mobile responsive, dark mode compatible, and accessible to screen readers quickly and efficiently. The second objective is to reimagine and change how data graphics are displayed in email templates and newsletters.

Each of the 20+ bar charts have been built using <table> elements and CSS styling specifically for email templates. All coding required for creating individual data bars with customized widths, label text, colors, and more have been taken care of with vanilla JavaScript.

For additional information about the advantages and disadvantages of using HTML/CSS bar charts compared to images in email templates, read the "๐Ÿ“Š Non-Image Approach to Data Viz in Email" blog post.

Instructions

  1. Visit https://charts.email/ and select a chart type from the drop down menu. Step #1: Visit https://charts.email/ and select a chart type from the drop down menu.

  2. Customize the bar colors, widths, and chart text using the input tools. Step #2: Customize the bar colors, widths, and chart text using the input tools

  3. When the chart is ready, click the button to generate and copy your HTML output code. Step #3: When the chart is ready, click the button to generate and copy your HTML output code

  4. Paste the chart code into your email template, make adjustments as needed, and test.

Advantages of HTML/CSS Coded Bar Charts in Email Templates

  1. Charts can display in email clients without the need to download images
  2. Charts are dark mode compatible in a variety of email clients and mobile devices
  3. Charts feature live text and are accessible to screen readers

email-chart-builder's People

Contributors

bdjang avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

abd123al

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.