Components Data Visualization Components Data Visualization Components

Data Visualization Components

A web component for data visualization using Material Design style with Tailwind CSS, featuring responsive layouts, dark theme support, and placeholder images.

Preview

HTML Code

<div class="bg-white dark:bg-gray-800 p-6 rounded-lg shadow-lg transition-shadow duration-300">
    <h2 class="text-xl font-semibold text-gray-800 dark:text-white mb-4">Data Visualization Components</h2>
    <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
        <div class="bg-gray-200 dark:bg-gray-700 p-4 rounded-lg shadow-md">
            <h3 class="text-lg font-medium text-gray-800 dark:text-white">Bar Chart</h3>
            <img src="https://picsum.photos/300/200?random=1" alt="Bar Chart" class="w-full h-24 object-cover rounded-md mb-2" />
            <p class="text-gray-600 dark:text-gray-300">A simple bar chart representing data.</p>
        </div>
        <div class="bg-gray-200 dark:bg-gray-700 p-4 rounded-lg shadow-md">
            <h3 class="text-lg font-medium text-gray-800 dark:text-white">Line Chart</h3>
            <img src="https://picsum.photos/300/200?random=2" alt="Line Chart" class="w-full h-24 object-cover rounded-md mb-2" />
            <p class="text-gray-600 dark:text-gray-300">A line chart visualizing trends over time.</p>
        </div>
        <div class="bg-gray-200 dark:bg-gray-700 p-4 rounded-lg shadow-md">
            <h3 class="text-lg font-medium text-gray-800 dark:text-white">Pie Chart</h3>
            <img src="https://picsum.photos/300/200?random=3" alt="Pie Chart" class="w-full h-24 object-cover rounded-md mb-2" />
            <p class="text-gray-600 dark:text-gray-300">A pie chart displaying proportions.</p>
        </div>
        <div class="bg-gray-200 dark:bg-gray-700 p-4 rounded-lg shadow-md">
            <h3 class="text-lg font-medium text-gray-800 dark:text-white">Scatter Plot</h3>
            <img src="https://picsum.photos/300/200?random=4" alt="Scatter Plot" class="w-full h-24 object-cover rounded-md mb-2" />
            <p class="text-gray-600 dark:text-gray-300">A scatter plot illustrating distribution.</p>
        </div>
        <div class="bg-gray-200 dark:bg-gray-700 p-4 rounded-lg shadow-md">
            <h3 class="text-lg font-medium text-gray-800 dark:text-white">Area Chart</h3>
            <img src="https://picsum.photos/300/200?random=5" alt="Area Chart" class="w-full h-24 object-cover rounded-md mb-2" />
            <p class="text-gray-600 dark:text-gray-300">An area chart showcasing cumulative data.</p>
        </div>
        <div class="bg-gray-200 dark:bg-gray-700 p-4 rounded-lg shadow-md">
            <h3 class="text-lg font-medium text-gray-800 dark:text-white">Histogram</h3>
            <img src="https://picsum.photos/300/200?random=6" alt="Histogram" class="w-full h-24 object-cover rounded-md mb-2" />
            <p class="text-gray-600 dark:text-gray-300">A histogram demonstrating frequency distribution.</p>
        </div>
    </div>
    <div class="mt-6 text-center">
        <button class="bg-blue-500 text-white font-semibold py-2 px-4 rounded shadow hover:bg-blue-600 transition duration-300">
            View More
        </button>
    </div>
</div>

Related Components

Data Visualization Component - Industrial Agriculture

A data visualization component with an industrial, raw aesthetic, utilizing a purple/violet color scheme, suitable for agriculture and farming websites. It displays key metrics in a responsive layout with dark mode support.

Open

Data Visualization Components

A simple, responsive e-commerce data visualization component with a glassmorphism design style and monochromatic color scheme, featuring dark mode support.

Open

Social_Connection_Chart_Component

A moderate complexity social connection chart component with organic, nature-inspired design, featuring black, white, and a single bright accent color. Designed for dating and social platforms, it showcases connections visually with flowing lines and user avatars. Fully responsive with dark mode support.

Open