The case is just a case. It has places to mount a motherboard, power supply and disks.
You may not need a graphic card for what you want. You will need a CPU, most motherboards don't include one. And a power supply and RAM of course.
And you need the CPU, motherboard, and RAM to be compatible.
PCPartPicker can help you choose components:
https://pcpartpicker.com/