• ReactJS

    Add Twitter timeline in ReactJS

    Go to https://publish.twitter.com to get the embed code. Copy the embed code The embed code will look like this Goto index.html in your public folder in your ReactJS app. I assume you created the app via CRA Cut the script tag from the embed code inside your head tag in index.html Now we have only the first line that’s the anchor (“a”) tag. Added the anchor tag in you component wherever you need to show it. Now we need to load the twitter embed code. Do this to load twitter embed code For Class component For Functional component, use the useLayoutEffect hook Happy coding 🍺

  • Covid India dashboard
    Projects

    India COVID-19 dashboard

    Created a dashboard for WhatIndiaThinks.com on Coronavirus COVID-19. This dashboard is specifically for India cases. Check out the dashboard Tech stack React JS Sass Node JS Material UI Recharts / D3 PHP Deployed on Apache server

  • JavaScript,  ReactJS

    Recharts show legend on top of chart

    Use below to move Recharts legend to top of the graph. In fact you can position the legends any where (top, right, bottom , left, left top, left middle etc) you like. I have added few code samples for that corresponding images. Please go through it. I am using a Pie chart, so the above code will show legend on top of the chart and it looks like this. Lets try few other styles The overall code looks like this.

  • Resistor Calculator
    Electronics

    Resistor Calculator

    Resistor Calculator for engineers, hobbyists and enthusiasts with an innovative user interface. Create a tool to calculate value of a resistor. Just select the colors of the resistor and the calculator will show you the resistor value with a pictorial representation of the resistor. Check here : https://resistorcalc.netlify.com/